Contents | Index | < Browse | Browse >
usage: PRAGMA(option,[value])

Makes changes to the system environment in which the program operates. Some attributes return the previous value installed. Others only set a boolean success flag. The first letter of the option is sufficient.
example: Pragma('D')

-OPTIONS:
Directory -specifies a new current directory

Priority -specifies a new task priority within range -128 to 127.
ARexx programs should never be run at a higher priority
than the resident process, currently a value of 4.

Id -returns the task ID (address of the task block) which is
a unique identifier.

Stack -Defines a new stack value for your current ARexx program.

The current implemented options are:

WindowPtr Pragma('W',{'NULL' | 'WorkBench'})
controls the task's WindowPtr field. Setting it to NULL
suppresses requestors generated by a DOS call.

* Pragma('*',[name]) defines the specified logical name as the
current ('*') console handler. Allows the user to open two
streams on one window. If the name is omitted, the console
handler is set to that of the client's process.