What are the pitfalls to using keywords as local variables?
I've always avoided it, but in Gary Rosenzweig's excellent "Advanced Lingo
for Games," there are a lot of handlers with code like:
list = []
add list, [#word:w, #clue:clue]
and
text = member("Puzzle").text
His code works fine--I've only discovered one minor bug, unrelated to
keywords. But it makes me nervous to use keywords like this. I've been
going through and changing them to variables like theList and theText.
Am I overreacting?
Cordially,
Kerry Thompson
Learning Network
[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!]