Differences
This shows you the differences between two versions of the page.
|
reference:lp0605 [2009/08/04 08:13] don created |
reference:lp0605 [2010/01/17 22:19] (current) don |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== 6.05 Externall Calls ====== | + | ====== 6.05 Miscellaneous System Commands ====== |
| - | ===== EXEC Command ===== | + | ===== BEEP ===== |
| === Function: === | === Function: === | ||
| - | Loads a secondary copy of the system shell and executes a program or a shell command. | + | Generates a beep sound |
| === Syntax: === | === Syntax: === | ||
| - | EXEC cmdstr | + | BEEP |
| - | where: | + | ===== DELAY ===== |
| - | = cmdstr | + | === Function: === |
| - | : Shell specific command string | + | Delay for a specified amount of milliseconds. This 'delay' is also dependent on system clock. |
| + | === Syntax: === | ||
| + | DELAY ms | ||
| - | After the specified shell command or program terminates, control is returned to the line following the EXEC command. | + | ===== PAUSE ===== |
| + | === Function: === | ||
| + | Pauses the execution for a specified length of time, or until the user hits the keyboard. | ||
| + | === Syntax: === | ||
| + | PAUSE [secs] | ||
| - | ===== EXEC Function ===== | + | ===== ENVIRON Command ===== |
| === Function: === | === Function: === | ||
| - | EXEC(command) | + | Adds a variable to or deletes a variable from the current environment variable-table. |
| - | EXEC() is the function version of the EXEC command. The difference is that the EXEC function returns an array containing the output of the 'command' where each element is a text line from the called program. | + | === Syntax: === |
| + | ENViron expr | ||
| + | =expr | ||
| + | :A string expression of the form "name=parameter" | ||
| + | :If name already exists in the environment table, its current setting is replaced with the new setting. If name does not exist, the new variable is added. | ||
| + | |||
| + | ===== ENVIRON Function ===== | ||
| + | === Function: === | ||
| + | Returns the value of a specified entry in the current environment table. If the parameter is empty ("") then returns an array of the envirment variables (in var=value form) | ||
| + | === Syntax: === | ||
| + | ENViron(var) | ||
| + | =var | ||
| + | :A string expression of the form "var" | ||
| - | //**Windows:**// The stdout and stderr are separated! First is stdout output and then stderr. | + | ===== Page Links ===== |
| + | | <= [[lp0604]] | | [[start]] | | [[lp0606]] => | | ||