WARPWRAP COMMANDS

WARPWRAP recognizes the following six commands within a script definition file, in addition to the environment variable settings. All commands are preceded with a tilde (~).

~NEW

All environment variables on subsequent lines of the definition file are added to the EXE file environment block ONLY if they do not already exist. If the environment variable already exists, regardless of setting, no changes are made. ~NEW environment variables must have a setting or else WARPWRAP aborts with an error at the incorrect line. ~NEW stays in effect for all subsequent environment variables until a ~REPLACE or ~DELETE command is encountered.

~REPLACE

All environment variables on subsequent lines of the definition file are added to the EXE file environment block regardless of whether or not they already exist. If they already exist, they are replaced. ~REPLACE environment variables must have a setting or else WARPWRAP aborts with an error at the incorrect line. ~REPLACE stays in effect for all following environment variables until a ~NEW or ~DELETE command is encountered. ~REPLACE is the default condition in a definition file if no other command is present, as if the definitions file started with a ~REPLACE command.

~DELETE

All environment variables on subsequent lines of the definition file that match a pre-existing environment variable are removed from the EXE file environment block. If a ~DELETE environment variable is specified but does not exist, then the ~DELETE command is ignored for that variable without causing an error. ~DELETE environment variables must not have a setting or else WARPWRAP aborts with an error at the incorrect line. ~DELETE stays in effect for all following environment variables until a ~NEW or ~REPLACE command is encountered.

Next Page

Previous Page

Go to Table of Contents

Go back to Devore Software & Consulting home page