March 18, 2004, 06:47 AM<beginner>
HOW TO USE IF-ELSE STATEMENT IN FOCUS
Here is my attempt:
DEFINE TABLE MYTABLE
IF 0 THEN
MYLINE1/A225='ORG1 ORG2 '|
MYLINE1/A225='NEW1 NEW2 '|
but it throws me a syntax error. Any sugguestion?
Note: I put zero as condition coz I want to test if it goes to else part
waiting for help,
March 18, 2004, 08:35 AMMikel
DEFINE FILE MYTABLE
MYLINE/A225 = IF 1 EQ 0 THEN 'ORG1 ORG2 '| 'ORG3 ORG4'
ELSE 'NEW1 NEW2 '| 'NEW3 NEW4';
Doc.Ref.: Writing Conditional Expressions
MikelThis message has been edited. Last edited by: <Mabel>,
March 18, 2004, 01:16 PM<beginner>
Thank you very much for your help.
It took me a few hours to figure that out ~>
I'll be visiting this site with more questions soon.
See you all again.