Sys

OpenTuring

Sys

Description   This unit contains the predefined subprograms that deal with the operating system directly (getting the process id, getting run time arguments and executing commands in the operating system, etc.).

All routines in the Sys unit are exported qualified (and thus must be prefaced with "Sys.").

Entry Points  
GetComputerName Gets the name of the computer.
GetEnv Gets a string associated with an environment variable.
GetPid Gets the current process ID for Turing.
GetUserName Gets the name of the user currently logged on.
Exec Executes a program or opens a data file using the operating system.
Nargs Gets the number of run time arguments (exported unqualified).
FetchArg Gets a specified run time argument (exported unqualified).