PLBENV Keyword


PLBCON, PLBWIN, PLBCE or PLBLinux

PLBENV_{entry}={string}

 

Keywords defined in this format allow a path or name substitution for a entry specification. {entry} specifies a unique string. When the runtime encounters a filename beginning with a dollar sign ($), it is scanned to the first file path or name delimiter. That string is appended to 'PLBENV_' and the environment table or program information file (ini) is searched for the keyword. If a matching keyword is found, the {string} associated with the entry is substituted within the file name. An entire file name or path may be substituted in this manner.

Example:

 

UET has an entry defined as PLBENV_ARDATA=\\server2\acct\ar

 

 

OPEN

FILE,"$ARDATA\company1.txt"

 

The actual file is opened as '\\server2\acct\ar\company1.txt'.

 

 

See Also: OPEN, PLBWIN Keywords, PLBCE Keywords, PLBLinux Environment Variables, Compiler and Runtime Options

 



Compiler and Runtime Options PLBWIN_EDIT Keyword PLB_EOR Keyword