"Unquoted literal" error - big BUG in LC?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
"Unquoted literal" error - big BUG in LC?
Here is my short story... Everything was working fine - all code was running without any problems, but then, suddenly, I got "Unquoted literal" error for almost every button in my stack that has some code. Weird thing is that SAME code was running fine, but suddenly it went weird.
Can anybody tell me if I did something wrong (I think I didn't because everything is same as before) or this is just another BIG, very frustrating bug in LiveCode? I tried to re-run my stack with 6.1, 6.5, 6.5.2 and 6.6 version of LC.
Please help.
Cheers
Can anybody tell me if I did something wrong (I think I didn't because everything is same as before) or this is just another BIG, very frustrating bug in LiveCode? I tried to re-run my stack with 6.1, 6.5, 6.5.2 and 6.6 version of LC.
Please help.
Cheers
Re: "Unquoted literal" error - big BUG in LC?
With a 'script editor' open... go to the 'Edit' menu > 'Variable Checking' and set it so the check mark is not showing against it... I think that may solve your problem... Variable checking causes LiveCode to perform a stricter check of your scripts. Using any variable without declaring it first, or using a literal string without encloning it in quotes causes a compile error. This behavior can be useful in tracking down certain subtle problems such as misspelling a variable name. - from the 'User Guide'...
Re: "Unquoted literal" error - big BUG in LC?
Simon has a point. This is the same as checking "strict compilation mode" in the LC preferences, which can be done in browse mode if you wish.
There has been hubbub over time that somehow this property get set, and nobody knows how. Do check yours out, and if it has indeed been set, and you KNOW it wasn't you. write back
Craig Newman
There has been hubbub over time that somehow this property get set, and nobody knows how. Do check yours out, and if it has indeed been set, and you KNOW it wasn't you. write back
Craig Newman
Re: "Unquoted literal" error - big BUG in LC?
It works now fine as before. Thanks guys for quick reply!
Re: "Unquoted literal" error - big BUG in LC?
Dixie had the point. Not Simon.
Glad it is working. But did you set that property? If not, are you sure?
Craig
Glad it is working. But did you set that property? If not, are you sure?
Craig
Re: "Unquoted literal" error - big BUG in LC?
I'm 99% sure I didn't click on that.dunbarx wrote:Dixie had the point. Not Simon.
Glad it is working. But did you set that property? If not, are you sure?
Craig
Re: "Unquoted literal" error - big BUG in LC?
LOL... it's that 1% that you have to be careful of 

Re: "Unquoted literal" error - big BUG in LC?
Isn't working with unquoted literal's just asking to kicked?
Simon
(who will take credit for Dixie's work any day)
Simon
(who will take credit for Dixie's work any day)
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: "Unquoted literal" error - big BUG in LC?
Yes it is. You may be able to get away with it much of the time but there will surely be problems at some point or other. Then they will be hard to track down - frustrating, and as you found, easy to mistake for a bug.Simon wrote:Isn't working with unquoted literal's just asking to kicked?
Simon
(who will take credit for Dixie's work any day)
Re: "Unquoted literal" error - big BUG in LC?
Hi SparkOut,
Not me... I'm not so cavalier.
Simon
Not me... I'm not so cavalier.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: "Unquoted literal" error - big BUG in LC?
Yes sorry, I shouldn't switch addressee mid post!