basic.ifr Statement/BASIC Program

basic.ifr

Command basic.ifr Statement/BASIC Program
Applicable release versions: AP 6.2, R91
Category BASIC Program (486)
Description tests the result of a logical expression. Each attribute of the first element of the expression is tested against the target. Depending on whether one of the attributes in the expression evaluates to either "true" or "false", the statement(s) following the "then" or "else" clauses respectively are executed.

See the "if" statement for more information on clause structures.
Syntax ifr logical.expression [ then | else ] statement.block
ifr logical.expression then statement.block [ else statement.block ]
Options
Example
Purpose
Related basic.statements
basic.search.for.truth
basic.then/else.construct
basic.not
basic.match
basic.rewind
basic.logical.expressions
basic.null
statement.block
basic.=
basic.!
basic.$options
basic.if