the message box

Jon jbondy at sover.net
Fri Aug 19 21:48:05 EDT 2005


Scott:

I'm not sure I understand what you wrote.  Is there any situation in 
which using a reserved word as the name of a parameter variable would be 
meaningful?

Jon


Scott Rossi wrote:

>Recently, Jon  wrote:
>
>  
>
>>"msg is a reserved word indicating... the message box :) try to use a
>>different name for your var and all should be fine."
>>
>>Given that, in this particular situation, the IDE is going to ignore my
>>use of "msg" as a parameter variable name, would it make any sense for
>>the compiler to flag this as a likely problem?
>>    
>>
>
>I'm not sure you expect the IDE to *know* that you didn't intend call the
>message box versus making a script error.  Sure, the context could be gauged
>to some extent, but perhaps you *did* intend to call the message box and
>simply made a contextual script error in the remainder of your code.
>
>Chalk it up to a learning experience.  In much the same way that one has to
>learn how to use "alert" in Javascript and "trace" in ActionScript to get
>the same result as "answer" in X-talk.
>
>Regards,
>
>Scott Rossi
>Creative Director
>Tactile Media, Multimedia & Design
>-----
>E: scott at tactilemedia.com
>W: http://www.tactilemedia.com
>
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>  
>



More information about the use-livecode mailing list