At 11:28 AM -0700 9/4/00, zac wrote:
>Kerry Thompson wrote:
>
>> His code works fine--I've only discovered one minor bug, unrelated to
>> keywords. But it makes me nervous to use keywords like this
>
>At the rate they expand Lingo and add new properties it will soon be almost
>impossible to use local variable names that aren't a keyword.
>
>As long as they aren't commands or functions then I think there is no
>problem. I've not run into any problem yet

Kerry:

I agree with Zac.  I've never had problems using variables with keyword
names.  However, like you I tend to avoid this when possible - especially
when naming local variables.  This makes the code easier to read.  I've
noticed a lot of developers using prefixes such as "a" and "the" for
variable names

aWord
theWord
etc.

Regards,

Terry

-- 

...---===|    Terry R. Schussler    |===---...
...---===|  DIA Chief Investigator  |===---...

on visitWebsite yourSelection
 coolSites = [ \
   #greatSeminars : "http://www.macromediaseminars.com/", \
   #directorIntelligenceAgency: "http://www.director8.com", \
   #freeBehaviors : "http://www.behaviors.com/"]
 gotoNetPage coolSites.yourSelection
end visitWebsite


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to