PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
[Bottom][Contents][Search][Prev]: Rexx Expressions[Next]: Rexx Looping
\ -> Rexx -> Rexx Conditional Logic

Rexx Conditional Logic

You can get a rexx manuals (for regina) from http://www.lightlink.com/hessling/, there are HTML and PDF versions available.

The #if command allows you to evaluate any rexx conditional expression to determine whether its true or not.

The following tests operators are concidered to be "non-strict" (leading and trailing blanks are ignored as are leading zeros on numbers):

The following tests operators are concidered to be "strict":

The following logical operators are also useful:

Some examples follow:

#if  lines(<$LanguageFile>) = 0
#if  Defined('Var1') = 'Y' | Defined('Var2') = 'Y'
#if <$TmpHH> < 12
#if translate(GetEnv("PRJSRCDIR")) = "E:\DB\PROJECTS\HOMEPAGE"


email me  any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Search][Prev]: Rexx Expressions[Next]: Rexx Looping


PPWIZARD Manual
My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Sunday November 05 2017 at 10:00am