Newbie questions

Scott Rossi scott at
Thu Oct 30 01:59:15 EST 2003

On 10/29/03 8:48 PM, "Richard Gaskin" <ambassador at> wrote:

>> I am running into a very basic problem: None of my
>> scripts execute. For example, I have this script in card 2
>> on closecard
>>   global name, age, education, occupation, gender, handedness, marital
>>   put fld "name" into name
> Another benefit to the "Hungarian-lite" notation described in this week's
> Handy Handlers column at
> <> is that it greatly
> reduces the potential for having variable names that are reserved words.

At the risk of contradicting Richard's advice and useful style guide on his
site, you might try prepending your object names with an underscore (ie
field _name).  I use this technique in my scripts and this prevents any
confusion with reserved words.  Some folks have complained that use of the
underscore prevents you from selecting the entire name by doubleclicking in
the script editor, but I find this to be a minor inconvenience (especially
since you don't need to change the underscore itself when editing the name,
for example).


Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
E: scott at

More information about the Use-livecode mailing list