pTAL Conversion Guide

Constants, LITERALs, and DEFINEs
pTAL Conversion Guide527302-002
6-2
DEFINE Declarations
DEFINE Declarations
TAL
You can use a reserved word as a formal parameter identifier in a define declaration.
pTAL
You cannot use a reserved word as a formal parameter identifier in a define
declaration. This statement is valid in TAL but not in pTAL:
DEFINE x(cond, int) = IF cond THEN GOTO int#;
You must change int to an identifier that is not a pTAL reserved word.