Error: multipleDefine

Just starting out? Need help? Post your questions and find answers here.
User avatar
Peter
Posts: 1086
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: Error: multipleDefine

Post by Peter »

skinkairewalker wrote: Tue May 25, 2021 11:34 pmhow can i fix it ??
the "If" in your code is uppercase.
the.weavster
Posts: 220
Joined: Sat Mar 01, 2014 3:02 pm

Re: Error: multipleDefine

Post by the.weavster »

By default the SpiderBasic IDE will fix the case of SpiderBasic key words which can cause issues with JS code between EnableJS and DisableJS, as you've found here if gets changed to If.

You can turn off that behaviour in preferences: Editor -> Editing -> Enable Case Correction.
skinkairewalker
Posts: 120
Joined: Tue Jun 14, 2016 7:17 pm

Re: Error: multipleDefine

Post by skinkairewalker »

Awesome !!!

works fine, thanks very much the.weavster and Peter 8-)
Post Reply