On 05/21/18, dream master said the following...
i would like to see the odd function added to mpl unless there is another to tell if a value is odd or even?
Just use the modulus operation
val x: integer
val testval : integer = 33
x:= textval % 2
if x = 0 then writeln(int2str(testval)+'is even'
if x = 1 then wrote;m(int2str(testval)+'is odd'
--- Mystic BBS v1.12 A39 2018/04/21 (Linux/64)
* Origin: Cyberia BBS | cyberia.darktech.org | San Jose, CA (21:1/120)