advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
IF TYPEOF Statement Details
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 IF {condition | TYPEOF ctlname IS controltype} THEN
      [statementblock-1]
 [ELSEIF TYPEOF ctlname IS controltype THEN
      [statementblock-2]]...
 [ELSE
      [statementblock-n]]
 END IF
 
 Usage Notes
   ■ The IF...END IF statement provides the same type of conditional
     processing without the TYPEOF option. See: IF...END IF Statement
 
   ■ The ELSE and ELSEIF blocks are optional. You can have as many ELSEIF
     clauses as you want in a block IF. Any of the statement blocks can
     contain nested block IF statements.