SET CTL
Assign a value to CTL variable
This directive allows a Basic program to assign a value to the Basic CTL variable.
Syntax
Section titled “Syntax”SET CTL ctl-value [,ERR=line-ref|,ERC=error-code]ctl-value- is the positive or negative integer value to assign to the CTL system variable.
line-ref- is the program line number or label to branch to if an error is produced.
error-code- is a programmer-defined error code. Valid values are positive or negative whole numbers.
Examples
Section titled “Examples”SET CTL -12Sets the CTL variable to a forward tab.
Remarks
Section titled “Remarks”This directive is generally available starting with release level 8.5.
Specifying other than a positive or negative whole number for ctl-value results in an ERR=41.
See also
Section titled “See also”CTL system variable
From the Thoroughbred Basic Language Reference, Volume III: R–Z, version 8.9.1. Open this page in the PDF