[SOLVED] IDE problem - strict compilation stopped working

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
stam
Posts: 2679
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

[SOLVED] IDE problem - strict compilation stopped working

Post by stam » Fri Sep 25, 2020 2:04 pm

Hi all,

I prefer to use strict completion mode & variable checking to reduce errors from typos etc. This had been working fine until today... but as today this seems to have stopped working.

Live errors and variable checking are selected in the script IDE and 'strict compilation mode' is selected in the preferences, but i can still now type gobbledygook with no error being raised.

Restarting LC and even rebooting have not done resolved this.
Any suggestions?

screenshot showing undeclared variable being used with no error generated:
Image
Last edited by stam on Fri Sep 25, 2020 3:27 pm, edited 1 time in total.

Klaus
Posts: 13824
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: IDE problem - strict compilation stopped working

Post by Klaus » Fri Sep 25, 2020 2:06 pm

Wild guess, maybe it will only work inside of handlers/functions?

stam
Posts: 2679
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: IDE problem - strict compilation stopped working

Post by stam » Fri Sep 25, 2020 2:11 pm

Klaus wrote:
Fri Sep 25, 2020 2:06 pm
Wild guess, maybe it will only work inside of handlers/functions?
nope:

Image

Klaus
Posts: 13824
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: IDE problem - strict compilation stopped working

Post by Klaus » Fri Sep 25, 2020 2:20 pm

Hm, was worth a try... :D

Hm, just tested this here in my MacMini, macOS 10.14.6 LC 9.6.1, and LC complained as exspected!?
Try to trash your LC prefs, use the message box to locate the file:
put the filename of stack "revpreferences"

Restarting LC and/or your machine may also help.

stam
Posts: 2679
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: IDE problem - strict compilation stopped working

Post by stam » Fri Sep 25, 2020 3:07 pm

Thanks Klaus, will try trashing the preferences when I get back to my computer...

So far, restating LC and rebooting did nothing...

I guess worse case scenario just reinstall?

Klaus
Posts: 13824
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: IDE problem - strict compilation stopped working

Post by Klaus » Fri Sep 25, 2020 3:10 pm

Looks like...

Sorry, no brilliant idea in the moment.

stam
Posts: 2679
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: IDE problem - strict compilation stopped working

Post by stam » Fri Sep 25, 2020 3:26 pm

Klaus wrote:
Fri Sep 25, 2020 2:20 pm
Try to trash your LC prefs, use the message box to locate the file:
put the filename of stack "revpreferences"
Klaus - you're a genius!
Trashing the prefs worked a treat!

All back to normal now...

Thank you!

Klaus
Posts: 13824
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: IDE problem - strict compilation stopped working

Post by Klaus » Fri Sep 25, 2020 3:31 pm

stam wrote:
Fri Sep 25, 2020 3:26 pm
Klaus wrote:
Fri Sep 25, 2020 2:20 pm
Try to trash your LC prefs, use the message box to locate the file:
put the filename of stack "revpreferences"
Klaus - you're a genius!
Trashing the prefs worked a treat!

All back to normal now...

Thank you!
Cool! :D

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”