![]() |
Operating System Interface |
|
For the process control and communication with the operating system the following functions and commands are available: |
client_env | {STR_VAR}= client_env ({STR_EXPR}) The function "client_env" returns the value of an environment variable of the client. |
delete | delete({STR_EXPR}) or delete({STR_EXPR},{/CLIENT}) This command can be used to delete a file. |
environment | {STR_VAR}= environment ({STR_EXPR}) This function returns the value of an environment parameter of the client or server. |
file_get | file_get({STR_EXPR},{STR_EXPR},{"/BIN"|"/ASC"}) This function is used to copy a file from a client to the server. |
file_put | file_put({STR_EXPR},{STR_EXPR},{"/BIN"|"/ASC"}) This function is used to copy a file from the server to a client. |
getenv | {STR_VAR}= getenv({STR_EXPR}) This function returns a string with the value of an environment variable. If the environment variable is not set, an empty string is returned. |
exists | {LOG_VAR}= exists({STR_EXPR},{"r"|"w"|"x"})
or {LOG_VAR}= exists({STR_EXPR},{"r"|"w"|"x"},{"/CLIENT"}) This function checks if the specified file exists with the corresponding access. |
system | system({STR_EXPR}) or system({STR_EXPR},{INT_VAR}) This command forwards the command string to the operating system of the computer. If the function cannot be executed, an error code is set. |