QTIPS - Unassigned
Published By | Date | Version | Knowledge Level | Keywords |
---|---|---|---|---|
Sprezzatura Ltd | 01 MAY 1989 | 1.13+ | EXPERT | UNASSIGNED |
There is a system function called UNASSIGNED which if passed the variable to be tested returns a 0 or a 1 depending on whether the variable is assigned or not. Usage is simple - EG
SUBROUTINE TCL.SUB(BRANCH) DECLARE FUNCTION UNASSIGNED * IF UNASSIGNED (BRANCH) THEN BRANCH = "TCL" END
(Volume 1, Issue 1, Page 2)