[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'System' (#rtl)

# Reference for unit 'System': Variables

`argv` |  | Pointer to the array of command-line arguments
`DefaultFileSystemCodePage` |  | Codepage to use for filenames
`DefaultRTLFileSystemCodePage` |  | Code page in which to return system-returned filenames
`DefaultSystemCodePage` |  | Current system codepage.
`DefaultUnicodeCodePage` |  | Code page for new unicode strings
`DispCallByIDProc` |  | Callback to perform dispatch interface procedure call by ID.
`envp` |  | Pointer to the array of environment variables
`ErrOutput` |  | Alias for StdErr
`ExitCode` |  | Exit code for the program, will be communicated to the OS on exit.
`FirstDotAtFileNameStartIsExtension` |  | Where does the extension start.
`InOutRes` |  | Result of last I/O operation.
`Input` |  | Standard input text file.
`IsConsole` |  | True for console applications, False for GUI applications.
`IsLibrary` |  | True if the current module is a library. Otherwise module is an executable
`mem` |  | Direct memory access (DOS only) in bytes
`meml` |  | Direct memory access (DOS only) in longints
`memw` |  | Direct memory access (DOS only) in words
`NoErrMsg` |  | Unused, for Delphi compatibility
`Output` |  | Standard output text file.
`RandSeed` |  | Seed for Random function.
`ReturnNilIfGrowHeapFails` |  | Describe behaviour if getmem fails.
`softfloat_exception_flags` |  | Current soft float exception flags
`softfloat_exception_mask` |  | Current soft float exception mask
`softfloat_rounding_mode` |  | Rounding mode for softfloat
`StackBottom` |  | Current stack bottom.
`StackLength` |  | Maximum stack length.
`StdErr` |  | Standard diagnostic output text file.
`StdOut` |  | Alias for Output.
`ThreadID` |  | Current Thread ID.
`UTF8CompareLocale` |  | Unused, for Delphi compatibility only
`widestringmanager` |  | Current widestring manager.
`WriteErrorsToStdErr` |  | Write errors to StdErr

Documentation generated on: May 14 2021