Compiling Error

Jan Schenkel janschenkel at yahoo.com
Wed Mar 30 15:03:34 EST 2005


--- Varen Swaab <public at veggio.com> wrote:
> Hi everyone. I'm having one of those insane
> programming moments for 
> which I really need some help and advice.
> Here is my problem as clearly stated as I can do it:
> 
> I have this piece of code, it works perfectly fine
> on a prototype stack 
> which I'm using to build my final application.
> 
> on goNextThing
>    lock screen
>    goThing sThing+1
>    unlock screen with visual effect dissolve
> end goNextThing
> 
> Yet, when I try to apply this code to my new stack
> with the code "with 
> visual effect dissolve" I get a parse error and
> message "Unquoted 
> Literal"
> 
> This code works but with no visual effect:
> 
> on goNextThing
>    lock screen
>    goThing sThing+1
>    unlock screen
> end goNextThing
> 
> I was thinking that i'm getting this "Unquoted
> Literal" error because 
> the syntax somewhere else on that script is broken
> but I went through 
> the code character by character and there isn't any
> broken code at all.
> 
> I should note that on my previous post about this
> problem I stated the 
> target stack was different from the stack the code
> is in, I changed 
> that and it's all happening in one stack now. The
> action works 
> perfectly until I add the line "with visual effect
> dissolve".
> 
> Can anyone offer some insight?
> 
> Thanks
> 
> Var
> 

Hi Var,

Is it possible that the "Variable checking" option is
turned on in the script editor ? If so, try putting
the name of the visual effect in quotes, as in :
  unlock screen with visual effect "dissolve"

Hope this helped,

Jan Schenkel.

Quartam - Tools for Revolution
<http://www.quartam.com>

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 


More information about the use-livecode mailing list