Nammy2015
9th February 2014, 20:17
Guys,

a simple query. Please dont laugh, I am a beginner in Baan scripts. Would like to know what is meaning of 'end if' and 'if not'. Also, how these are used in scripts?

Thanks in advance.

Nammy

bdittmar
9th February 2014, 20:40
Guys,

a simple query. Please dont laugh, I am a beginner in Baan scripts. Would like to know what is meaning of 'end if' and 'if not'. Also, how these are used in scripts?

Thanks in advance.

Nammy

Hello,

1st:
if <condition> then
-- do something
else
-- if the condition does'nt meet do something other
endif

2nd:

if not <condition> then
Example:
if not isspace <variable> then .......
else

endif

ENDIF marks the end of an if condition !


Search the WEB for if-then-else
or use this link ! http://www.baanboard.com/programmers_manual_baanerp_help_3gl_features_the_if_then_else_statement
Regards