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

# Reference for unit 'System': Constants

`AbstractErrorProc` |  | Custom abstract error handling procedure
`AllFilesMask` |  | File mask for all files on the current platform
`AllowDirectorySeparators` |  | Set of characters considered directory separators
`AllowDriveSeparators` |  | Set of characters considered drive separators
`AssertErrorProc` |  | Custom assert error handling procedure
`BacktraceStrFunc` |  | Standard backtrace formatting routine
`CatchAllExceptions` |  | Mask indicating all exception kinds
`cExceptionFrame` |  | Indicator of except frame on the exception frame stack
`cFinalizeFrame` |  | Indicator of finally frame on the exception frame stack
`CP_ACP` |  | ANSI code page identifier
`CP_ASCII` |  | US-ASCII code page identifier
`CP_NONE` |  | No known code page
`CP_OEMCP` |  | OEM code page identifier
`CP_UTF16` |  | UTF-16 code page identifier
`CP_UTF16BE` |  | Big-endian UTF-16 code page identifier
`CP_UTF7` |  | UTF-7 code page identifier
`CP_UTF8` |  | UTF-8 code page identifier
`CtrlZMarksEOF` |  | Determine whether CTRL-Z marks the end of file.
`Default8087CW`
`DefaultMXCSR`
`DefaultStackSize` |  | Default size for a new thread's stack (4MiB by default).
`DefaultTextLineBreakStyle` |  | Default line ending style.
`DirectorySeparator` |  | Character used to separate directory parts.
`DriveSeparator` |  | Character used to separate directory parts.
`ErrorAddr` |  | Address where the last error occurred.
`ErrorCode` |  | Last error code.
`ErrorProc` |  | Custom error handling procedure.
`ExceptClsProc` |  | Callback used to determine the exception class for an OS exception
`ExceptObjProc` |  | Callback used to convert OS exceptions to FPC exceptions
`ExceptProc` |  | Current exception handling procedure.
`ExitProc` |  | Exit procedure pointer.
`ExtensionSeparator` |  | Character which separates the filename from the file extension.
`E_NOINTERFACE` |  | Interface call result: Error: not an interface
`E_NOTIMPL` |  | Interface call result: Interface not implemented
`E_UNEXPECTED` |  | Interface call result: Unexpected error
`FileMode` |  | Default file mode for untyped files.
`FileNameCasePreserving` |  | OS preserves case in filenames when creating or renaming entries.
`FileNameCaseSensitive` |  | OS treatment of filenames is case sensitive.
`filerecnamelength` |  | Maximum filename size
`float_flag_denormal` |  | IEC/IEEE floating-point exception flag: ?
`float_flag_divbyzero` |  | IEC/IEEE floating-point exception flag: Division by zero error
`float_flag_inexact` |  | IEC/IEEE floating-point exception flag: ?
`float_flag_invalid` |  | IEC/IEEE floating-point exception flag: Invalid operation error
`float_flag_overflow` |  | IEC/IEEE floating-point exception flag: Overflow error
`float_flag_underflow` |  | IEC/IEEE floating-point exception flag: Underflow error
`float_round_down` |  | Round down
`float_round_nearest_even` |  | Round to nearest even number
`float_round_to_zero` |  | Round in the direction of zero (down for positive, up for negative)
`float_round_up` |  | Round up
`fmAppend` |  | File mode: File is open for writing, appending to the end.
`fmClosed` |  | File mode: File is closed.
`fmInOut` |  | File mode: File is open for reading and writing.
`fmInput` |  | File mode: File is open for reading.
`fmOutput` |  | File mode: File is open for writing.
`FPC_EXCEPTION` |  | Type of exception: Free pascal exception
`growheapsize1` |  | Grow rate for block less than 256 Kb.
`growheapsize2` |  | Grow rate for block larger than 256 Kb.
`growheapsizesmall` |  | Fixed size small blocks grow rate
`has_mmx_support` |  | CPU has mmx support
`has_sse2_support` |  | CPU has sse2 support?
`has_sse3_support` |  | CPU has sse3 support?
`has_sse_support` |  | CPU has SSE support ?
`InitProc` |  | Initialization routine
`IObjectInstance` |  | GUID for the IObject interface
`IsMultiThread` |  | Indicates whether more than one thread is running in the application.
`LFNSupport` |  | Constant describing support for long filenames.
`LineEnding` |  | Constant describing the current line ending character.
`maxExitCode` |  | Maximum exit code supported by the operating system.
`MaxInt` |  | Maximum integer value.
`MaxKeptOSChunks` |  | Maximum number of OS chunks to be kept in memory
`MaxLongint` |  | Maximum longint value.
`MaxPathLen` |  | Constant defining the maximum length of filenames (including path)
`MaxSIntValue` |  | Maximum String-size value.
`MaxSmallint` |  | Maximum smallint value.
`MaxUIntValue` |  | Maximum unsigned integer value.
`Max_Frame_Dump` |  | Maximum number of frames to show in error frame dump.
`ModuleIsCpp` |  | program compiled by CPP ?
`ModuleIsLib` |  | Determines whether the current module is a library
`ModuleIsPackage` |  | Determines whether the current module is a package
`NilHandle` |  | Correctly typed Nil handle - returned on error by LoadLibrary
`PathSeparator` |  | Character used to separate paths in a search list
`RaiseMaxFrameCount` |  | Maximum number of frames to include in TExceptObject
`RaiseProc` |  | Procedure to raise an exception.
`RT_ACCELERATOR` |  | Constant identifying an accelerator resource
`RT_ANICURSOR` |  | Resource type: Animated cursor
`RT_ANIICON` |  | Resource type: Animated icon
`RT_BITMAP` |  | Constant identifying a bitmap resource
`RT_CURSOR` |  | Constant identifying a cursor resource
`RT_DIALOG` |  | Constant identifying a dialog resource
`RT_FONT` |  | Constant identifying a font resource
`RT_FONTDIR` |  | Constant identifying a font directory resource
`RT_GROUP_CURSOR` |  | Constant identifying a group cursor resource
`RT_GROUP_ICON` |  | Constant identifying a group icon resource
`RT_HTML` |  | Resource type: HTML data
`RT_ICON` |  | Constant identifying an icon resource
`RT_MANIFEST` |  | Resource type: manifest
`RT_MENU` |  | Constant identifying a menu resource
`RT_MESSAGETABLE` |  | Constant identifying a message data resource
`RT_RCDATA` |  | Constant identifying a binary data resource
`RT_STRING` |  | Constant identifying a string table resource
`RT_VERSION` |  | Constant identifying a version info resource
`RuntimeErrorExitCodes` |  | Mapping between runtime-error constants and program exit codes
`SafeCallErrorProc` |  | Error handler for safecall errors
`SharedSuffix` |  | Shared library suffix for the current platform
`sLineBreak` |  | Alias for LineEnding
`StackError` |  | Indicate whether there was a stack error.
`StdErrorHandle` |  | Value of the OS handle for the standard error-output file.
`StdInputHandle` |  | Value of the OS handle for the standard input file.
`StdOutputHandle` |  | Value of the OS handle for the standard output file.
`S_FALSE` |  | Interface call result: Not OK
`S_OK` |  | Interface call result: OK
`Test8086` |  | 8086 or older ?
`Test8087` |  | 8087 floating point CPU or not ?
`TextRecBufSize` |  | Default buffer size for text files
`TextRecNameLength` |  | maximum filename size for text files.
`ThreadingAlreadyUsed` |  | Internal constant for the threading system. Don't use.
`tkAnsiChar` |  | tkChar alias
`tkAnsiString` |  | alias for tkAString
`tkShortString` |  | Alias for tkSString
`tkUnicodeString` |  | Alias for tkUString
`tkWideChar` |  | Alias for tkUchar
`tkWideString` |  | Alias for tkWString
`UnixGetModuleByAddrHook` |  | (Unix only) callback for GetModuleByAddr
`UnusedHandle` |  | Value indicating an unused file handle (as reported by the OS).
`VarAddRefProc` |  | Callback to increase reference count of a variant.
`varAny` |  | Variant type: Any
`varArray` |  | Variant type: variant Array
`varBoolean` |  | Variant type: Boolean type
`varByRef` |  | Variant type: By reference
`varByte` |  | Variant type: Byte (8 bit)
`VarClearProc` |  | Callback to clear a variant.
`VarCopyProc` |  | Callback to copy a variant
`varCurrency` |  | Variant type: Currency
`varDate` |  | Variant type: Date
`varDecimal` |  | Variant type: Decimal (BCD)
`varDispatch` |  | Variant type: dispatch interface
`varDouble` |  | Variant type: Double float
`varEmpty` |  | Variant type: Empty variant
`varError` |  | Variant type: Error type
`varInt64` |  | Variant type: Integer (64-Bit)
`varInteger` |  | Variant type: Integer (32-bit)
`varLongWord` |  | Variant type: Word (32 bit)
`varNull` |  | Variant type: Null variant
`varOleStr` |  | Variant type: OLE string (widestring)
`varQWord` |  | Variant type: Word (64-bit)
`varRecord` |  | Record variant type
`varShortInt` |  | Variant type: Shortint (16 bit)
`varSingle` |  | Variant type: Single float
`varSmallInt` |  | Variant type: smallint (8 bit)
`varStrArg` |  | Variant type: String
`varString` |  | Variant type: String
`VarToLStrProc` |  | Callback to convert a variant to a ansistring.
`VarToWStrProc` |  | Callback to convert a variant to a widestring.
`varTypeMask` |  | Variant type: Mask to extract type
`varUInt64` |  | Unsigned 64-bit value in a variant
`varUnknown` |  | Variant type: Unknown
`varUStrArg` |  | Unicode string argument value
`varUString` |  | Unicode string value in Variant
`varVariant` |  | Variant type: Variant (arrays only)
`varWord` |  | Variant type: Word (16 bit)
`varWord64` |  | Variant type: Word (64-bit)
`vmtAfterConstruction` |  | VMT Layout: ?
`vmtAutoTable` |  | VMT layout: ?
`vmtBeforeDestruction` |  | VMT Layout: ?
`vmtClassName` |  | VMT Layout: location of class name.
`vmtDefaultHandler` |  | VMT Layout: ?
`vmtDefaultHandlerStr` |  | VMT Layout: ?
`vmtDestroy` |  | VMT Layout: Location of destructor pointer.
`vmtDispatch` |  | Offset to dispatch table
`vmtDispatchStr` |  | Offset to string dispatch table
`vmtDynamicTable` |  | VMT Layout: location of dynamic methods table.
`vmtEquals` |  | Offset to the Equals method pointer
`vmtFieldTable` |  | VMT Layout: Location of fields table.
`vmtFreeInstance` |  | VMT Layout: location of FreeInstance method.
`vmtGetHashCode` |  | Offset to the GetHashCode method pointer
`vmtInitTable` |  | VMT Layout: ?
`vmtInstanceSize` |  | VMT Layout: Location of class instance size in VMT
`vmtIntfTable` |  | VMT layout: Interface table
`vmtMethodStart` |  | VMT layout: start of method table.
`vmtMethodTable` |  | VMT Layout: Method table start.
`vmtMsgStrPtr` |  | VMT layout: message strings table.
`vmtNewInstance` |  | VMT Layout: location of NewInstance method.
`vmtParent` |  | VMT Layout: location of pointer to parent VMT.
`vmtSafeCallException` |  | VMT Layout: ?
`vmtToString` |  | Offset to the ToString method pointer
`vmtTypeInfo` |  | VMT Layout: Location of class type information.
`vtAnsiString` |  | TVarRec type: Ansistring
`vtBoolean` |  | TVarRec type: Boolean
`vtChar` |  | TVarRec type: Char
`vtClass` |  | TVarRec type: Class type
`vtCurrency` |  | TVarRec type: Currency
`vtExtended` |  | TVarRec type: Extended
`vtInt64` |  | TVarRec type: Int64 (signed 64-bit integer)
`vtInteger` |  | TVarRec type: Integer
`vtInterface` |  | TVarRec type: Interface
`vtObject` |  | TVarRec type: Object instance
`vtPChar` |  | TVarRec type: PChar
`vtPointer` |  | TVarRec type: pointer
`vtPWideChar` |  | TVarRec type: PWideChar
`vtQWord` |  | TVarRec type: QWord (unsigned 64-bit integer)
`vtString` |  | TVarRec type: String
`vtUnicodeString` |  | Unicode string argument
`vtVariant` |  | TVarRec type: Variant
`vtWideChar` |  | TVarRec type: Widechar
`vtWideString` |  | TVarRec type: WideString

Documentation generated on: May 14 2021