Right off the top of my head, without even thinking about it - Which is usually my problem :awink: ...
Code:
IF dValue = 0 THEN
MESSAGE "You must enter a value!" VIEW-AS ALERT-BOX ERROR.
ELSE IF dValue MODULO 2 = 0 THEN
MESSAGE "Value is even" VIEW-AS ALERT-BOX INFORMATION.
ELSE
MESSAGE "Value is odd" VIEW-AS ALERT-BOX INFORMATION.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.