THe finctions name is 'mod' in Lingo as well.

if (x mod 2 = 0) then
 --number was even
else
 -- number was odd
end if


Have a Happy Lingo Day !
-A


Andrew Phelps
Department of Information Technology
Rochester Institute of Technology
http://www.it.rit.edu/
http://andysgi.rit.edu/




[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