on memberExists  (someName)
 return (member(someName).membernum > 0) -- only for dir < 10
 return (not voidP(member(someName))) -- only for dir >=10
end

Here's the obvious/ugly way that you probably would like to avoid:
on memberExists (someName)
  if the scriptExecutionStyle < 10 then return (member(someName).membernum > 0)
  else return (not voidP(member(someName)))
end

--
Cole

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

Reply via email to