Hi,
how can you write this IF-Statement as a CASE-Statement?
DEF VAR i AS INT.
IF i < 0 THEN
MESSAGE "i < 0".
ELSE IF i = 0 THEN
MESSAGE "i = 0".
ELSE
MESSAGE "i > 0".
/*like following?? It doesn't work!!*/
CASE i:
WHEN < 0 THEN
MESSAGE "i < 0".
WHEN = 0 THEN...
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.