contents   index   previous   next



Clib.system()

syntax:

Clib.system([P_SWAP,] commandString)

where:

P_SWAP - in DOS version, determines whether the ScriptEase interpreter is swapped out of normal memory.

 

commandString - the command string to be executed, a command as would be entered at a command prompt.

 

return:

value - the value returned by a command processor.

 

description:

Passes commandString to the command processor and returns whatever value was returned by the command processor. commandString may be a formatted string followed by variables according to the rules defined in Clib.sprintf().

 

DOS
In the DOS version of ScriptEase, if the special argument P_SWAP is used then SeDos.exe is swapped to EMS/XMS/INT15 memory or disk while the system command is executed. This leaves almost all available memory for executing the command. See SElib.spawn() for a discussion of P_SWAP.

DOS32
The 32 bit protected mode version of DOS ignores the first parameter if it is not a string; in other words, P_SWAP is ignored.

see:

SElib.spawn()

 

 


Error