At 10:43 PM -0400 05/18/2001, Lingo-L Digest wrote:
>I usually just:
> if not getpos(list, value) then add(list, value)
I strongly advise against single-line "if" statements. I strongly recommend the form:
if not getpos(list, value) then
add(list, value)
end if
This makes it much easier to examine in the debugger and avoid parsing problems when
you nest if statements.
Bruce
Bruce Epstein
Zeus Productions
[EMAIL PROTECTED]
732-940-2800
[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!]