ProvideX V8.20 > Language Reference > 3. System Functions
405
CPL( ) Function
         Compile String
Format
CPL(statement$[,ERR=stmtref])
Where:
statement$
String containing the statement to compile.
stmtref
Program line number or label to transfer control to.
Returns
ProvideX compiled format of the statement.
Description
The CPL( ) function returns the ProvideX internal (compiled) format of the statement
provided in the string argument statement$.
Example
MYSRS_IOL$=CPL("IOLIST A$,B$,C$")
READ DATA FROM CUR_RECORD$ TO IOL=MYSRS_IOL$