PPWIZARD Manual
[Bottom][Contents][Search][Prev]: Rexx Expressions[Next]: Rexx Looping

Rexx Conditional Logic

You can get a (slighty out of date) regina rexx manual from http://sites.netscape.net/ssatguru, this has HTML and compiled Windows Help formats for download.

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"
    


[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)
Tuesday January 02 2001 at 7:37am