ProvideX V8.20 > Language Reference > 2. Directives
91
DISABLE Directive
         Disable Use of Prefix Table Entry
Format
DISABLE (prefix[,ERR=stmtref])
Where:
prefix
Numeric value of the prefix to disable. Numeric expression, integer.
stmtref
Program line number or label to transfer control to.
Description
Use the DISABLE directive to notify ProvideX that you do not want to use a given
prefix table entry. This directive is used primarily in the conversion to or from old
Business Basic languages where you could disable a specific disk drive.
To re-enable the prefix use the ENABLE directive.
Note: This directive is included in ProvideX for compatibility with other languages.
See Also
ENABLE Re-Enable Use of Prefix Table Entry, p.109,
PREFIX Set File Search Rules, p.247.
Examples
->PREFIX (1) "/disk1/data/"
->PREFIX (2) "/disk2/data/"
->DISABLE (1)
Causes ProvideX to ignore PREFIX (1).