SysUtils

From RAD Studio VCL Reference
Jump to: navigation, search

Delphi Information

AnonMethod

TFunc

TFunc declares a reference to a generic function.

TPredicate

TPredicate declares a reference to a generic function that behaves as a logical predicate.

TProc

TProc declares a reference to a generic procedure.

Array

TByteArray

TByteArray declares an array of Bytes.

TBytes

TBytes declares an array of Bytes.

TCharArray

TCharArray declares an array of characters.

TDayTable

TDayTable is used to hold the number of days of each month of a year.

TWordArray

TWordArray declares an array of Words.

Class

EAbort

EAbort is the exception class for errors that should not display an error message dialog box.

EAbstractError

EAbstractError is the exception class for attempts to call an abstract method.

EAccessViolation

EAccessViolation is the exception class for invalid memory access errors.

EArgumentException

EArgumentException is the exception raised for invalid argument values.

EArgumentOutOfRangeException

EArgumentOutOfRangeException is the exception raised for argument values that exceed an allowed range.

EAssertionFailed

EAssertionFailed is the exception class for Delphi assertion failure.

EControlC

EControlC is the exception class for user interrupts.

EConvertError

EConvertError is the exception class for string and object conversion errors.

EDirectoryNotFoundException
EDivByZero

EDivByZero is the exception class for integer divide-by-zero errors.

EEncodingError

EEncodingError is the exception class for encoding errors.

EExternal

EExternal is the exception class that captures external error information.

EExternalException

EExternalException is the exception class for invalid exception codes.

EFileNotFoundException
EHeapException

EHeapException is the exception class for errors related to heap-allocated memory.

EInOutError

EInOutError is the exception class for file input/output errors.

EIntError

EIntError is the base class for integer math error exceptions.

EIntOverflow

EIntOverflow is the exception class for integer calculations whose results are too large to fit in the allocated register.

EIntfCastError

EIntfCastError is the exception class for interface casting errors.

EInvalidCast

EInvalidCast is an exception class for typecasting errors.

EInvalidContainer
EInvalidInsert
EInvalidOp

EInvalidOp is the exception class for undefined floating-point operations.

EInvalidPointer

EInvalidPointer is the exception class for invalid pointer operations.

EMathError

EMathError is the base exception class for floating-point math errors.

EMonitor

EMonitor is the base exception class for all monitor related exceptions.

EMonitorLockException

EMonitorLockException is the exception raised whenever a thread tries to release the lock on a non-owned monitor.

ENoConstructException
ENoMonitorSupportException

ENoMonitorSupportException is the exception raised when the monitor functionality is not available.

ENotSupportedException
EOSError

EOSError is the exception class for operating system errors.

EOutOfMemory

EOutOfMemory is the exception class for unsuccessful attempts to allocate memory.

EOverflow

EOverflow is the exception class for floating-point register overflows.

EPackageError

EPackageError is the exception class for package-related errors.

EPathTooLongException
EPrivilege

EPrivilege is the exception class for processor privilege violations.

EProgrammerNotFound
EPropReadOnly

EPropReadOnly is the exception class for invalid attempts to write to a property using OLE automation.

EPropWriteOnly

EPropWriteOnly is the exception class for invalid attempts to read a property using OLE automation.

ERangeError

ERangeError is the exception for Delphi range errors.

ESafecallException

ESafecallException is the exception for problems with the safecall calling convention.

EStackOverflow

EStackOverflow is the exception class for stack overflows.

EUnderflow

EUnderflow is the exception class for values that are too small to be represented with a floating-point variable.

EVariantError

EVariantError is the exception class for errors involving Variant data types.

EWin32Error

EWin32Error is the exception class for Windows errors.

EZeroDivide

EZeroDivide is the exception class for floating-point divide-by-zero errors.

Exception

Exception is the base class for all run-time exceptions.

TBigEndianUnicodeEncoding

TBigEndianUnicodeEncoding is the class that provides support for big-endian Unicode (UTF-16) encoding.

TEncoding

TEncoding is a class that defines a specific encoding for a character or string.

TLanguages

TLanguages lists all available Windows locales.

TMBCSEncoding

TMBCSEncoding is a base class for other MBCS (Multi-Byte Character Set) encoding classes.

TMREWSync

TMREWSync is a short name equivalent to TMultiReadExclusiveWriteSynchronizer.

TMultiReadExclusiveWriteSynchronizer

TMultiReadExclusiveWriteSynchronizer protects memory in a multi-threaded application.

TSimpleRWSync

TSimpleRWSync provides the reader/writer lock synchronization support.

TStringBuilder

An editable array of characters whose content has all the functionality of a string object.

TThreadLocalCounter
TUTF7Encoding

TUTF7Encoding is the class that provides support for UTF-7 encoding.

TUTF8Encoding

TUTF8Encoding is the class that provides support for UTF-8 encoding.

TUnicodeEncoding

TUnicodeEncoding is the class that provides support for Unicode (UTF-16) encoding.

Classref

ExceptClass

ExceptClass declares an Exception class.

Const

Constants

Enum

TFilenameCaseMatch

TFilenameCaseMatch indicates how close a match was found to a specified file name.

TFloatFormat

TFloatFormat is an enumerated list of formatting codes for float functions.

TFloatValue

TFloatValue is an enumeration of two basic floating-point types.

TLocaleOptions

TLocaleOptions defines a choice of dependent and independent locale options.

TMbcsByteType

TMbcsByteType represents the use of a single byte in a string that uses a multi-byte character set (MBCS).

TNameType

TNameType enumerates the types of names reported to TPackageInfoProc routines.

TUncertainState

Function

Abort

Raises a silent exception.

AddExitProc

Adds a procedure to the exit list.

AddTerminateProc

Adds a terminate procedure to the system list of termination procedures.

AdjustLineBreaks

Adjusts line break characters to reflect Windows or Linux style.

AnsiCompareFileName

Compares file names based on the current locale.

AnsiCompareStr

Compares strings based on the current locale with case sensitivity.

AnsiCompareText

Compares strings based on the current locale without case sensitivity.

AnsiDequotedStr

Converts a quoted string into an unquoted string.

AnsiExtractQuotedStr

Converts a quoted string into an unquoted string.

AnsiLastChar

Returns a pointer to the last character in a string.

AnsiLowerCase

Returns a string that is a copy of the given string converted to lowercase.

AnsiLowerCaseFileName

Converts a file name to lowercase.

AnsiPos

Locates the position of a substring.

AnsiQuotedStr

Returns the quoted version of a string.

AnsiSameStr

Compares strings based on the current locale with case sensitivity.

AnsiSameText

Compares strings based on the current locale without case sensitivity.

AnsiStrAlloc

Allocates a buffer for a null-terminated AnsiString and returns a pointer to its first character.

AnsiStrComp

Compares null-terminated character strings.

AnsiStrIComp

Compares null-terminated character strings case-insensitively.

AnsiStrLComp

Compares the first MaxLen bytes of two null-terminated strings, case-sensitively.

AnsiStrLIComp

Compares two strings, case-insensitively, up to the first MaxLen bytes.

AnsiStrLastChar

Returns a pointer to the last character in a null-terminated string.

AnsiStrLower

Converts all characters in a null-terminated string to lowercase.

AnsiStrPos

Returns a pointer to the first occurrence of a substring.

AnsiStrRScan

Returns a pointer to the last occurrence of a specified character in a specified string.

AnsiStrScan

Returns a pointer to the first occurrence of a character in a string.

AnsiStrUpper

Converts all characters in a null-terminated string to uppercase.

AnsiUpperCase

Converts a string to uppercase.

AnsiUpperCaseFileName

Converts a file name to uppercase.

AppendStr

Appends a dynamically allocated string to an existing string.

AssignStr

Assigns a new dynamically allocated string to a specified pointer.

Beep

Generates a message beep.

BoolToStr

Converts a Boolean value into a string.

ByteLength

Returns the length of a given string in bytes.

ByteToCharIndex

Returns the position of the character that contains a specified byte in a string.

ByteToCharLen

Returns the number of characters fully contained in the first MaxLen bytes of a string.

ByteType

Indicates whether a byte in a string is a single-byte character, the first byte of a double-byte character, or the second byte of a double-byte character.

BytesOf

Converts a string into a byte array.

CallTerminateProcs

Calls all of the functions in the termination procedure list.

ChangeFileExt

Changes the extension of a file name.

ChangeFilePath

Changes the path of a file name.

CharInSet

CharInSet checks whether a given character is contained within a set.

CharLength

Returns the number of bytes used by character.

CharToByteIndex

Returns the 1-based index of the first byte of a specified character in a string.

CharToByteLen

Returns the length, in bytes, of the first MaxLen characters of a string.

CharToElementIndex

Returns the 1-based index of the first element of a specified character in a string.

CharToElementLen

Returns the length, in bytes, of the first MaxLen characters of a string.

CheckWin32Version

Check to see whether you are running on a specific level (or higher) of the Windows 32 bit Operating System.

CompareMem

Performs a binary comparison of two memory images.

CompareStr

Compares two strings case-sensitively.

CompareText

Compares two strings by their ordinal value without case sensitivity.

CreateDir

Creates a new directory.

CreateGUID

Creates a globally unique identifier.

CurrToStr

Formats a Currency value as a string.

CurrToStrF

Converts a Currency value to a string, using a specified format.

CurrentYear

Returns the current year.

Date

Returns the current date.

DateTimeToFileDate

Converts a TDateTime value into an OS timestamp value.

DateTimeToStr

Converts a TDateTime value to a string.

DateTimeToString

Converts a TDateTime value into a string using a specified Format.

DateTimeToSystemTime

Converts a TDateTime value into the Win32 API's system time type.

DateTimeToTimeStamp

Converts a TDateTime value into the corresponding TTimeStamp value.

DateToStr

Converts a TDateTime value into a string.

DayOfWeek

Returns the day of the week for a specified date.

DecodeDate

Returns Year, Month, and Day values for a TDateTime value.

DecodeDateFully

Returns Year, Month, and Day, and Day-of-Week values for a TDateTime value.

DecodeTime

Breaks a TDateTime value into hours, minutes, seconds, and milliseconds.

DelegatesEqual

DelegatesEqual checks whether two delegates are equal.

DeleteFile

Deletes a file from disk.

DirectoryExists

Determines whether a specified directory exists.

DiskFree

Returns the number of free bytes on a specified drive.

DiskSize

Returns the size, in bytes, of a specified drive.

DisposeStr

Disposes of a string pointer that was allocated using NewStr.

ElementToCharIndex

Returns the position of the character that contains a specified element in a string.

ElementToCharLen

Returns the number of characters fully contained in the first MaxLen elements of a string.

EncodeDate

Returns a TDateTime value that represents a specified Year, Month, and Day.

EncodeTime

Returns a TDateTime value for a specified Hour, Min, Sec, and MSec.

ExceptionErrorMessage

Formats a standard error message.

ExcludeTrailingBackslash

Returns a path name without a trailing delimiter.

ExcludeTrailingPathDelimiter

Returns a path name without a trailing delimiter.

ExpandFileName

Returns the full path name for a relative file name.

ExpandFileNameCase

Returns the full path name for a relative file name on a case-sensitive file system.

ExpandUNCFileName

Returns the full path of a file name in UNC format, if appropriate.

ExtractFileDir

Extracts the drive and directory parts from FileName.

ExtractFileDrive

Returns the drive portion of a file name.

ExtractFileExt

Returns the extension portions of a file name.

ExtractFileName

Extracts the name and extension parts of a file name.

ExtractFilePath

Returns the drive and directory portions of a file name.

ExtractRelativePath

Returns a relative path name, relative to a specific base directory.

ExtractShortPathName

Converts a file name to the short 8.3 form.

FileAge

Returns the OS time stamp of a file.

FileClose

Closes a specified file.

FileCreate

Creates a new file.

FileDateToDateTime

Converts an OS time stamp value to TDateTime value.

FileExists

Tests whether a specified file exists.

FileGetAttr

Returns the file attributes of FileName.

FileGetDate

Returns an OS time stamp for a specified file.

FileIsReadOnly

Reports whether a file is read-only.

FileOpen

Opens a specified file using a specified access mode.

FileRead

Reads a specified number of bytes from a file.

FileSearch

Searches a specified directory path for a file.

FileSeek

Repositions read/write point.

FileSetAttr

Sets the file attributes of a specified file.

FileSetDate

Sets the OS time stamp for a specified file.

FileSetReadOnly

Sets the file permissions to read-only.

FileWrite

Writes the contents of a buffer to the current position in a file.

FinalizePackage

Finalizes the specified package (.bpl file).

FindClose

Releases memory allocated by FindFirst.

FindCmdLineSwitch

Determines whether a string was passed as a command-line argument to the application.

FindDelimiter

Returns the index of a delimiter character in the given string.

FindFirst

Searches for the first instance of a file name with a given set of attributes in a specified directory.

FindNext

Returns the next entry matching the name and attributes specified in a previous call to FindFirst.

FloatToCurr

Converts a floating-point value to a Currency value.

FloatToDateTime

Converts a floating-point value to a TDateTime value.

FloatToDecimal

Converts a floating-point value to a decimal representation.

FloatToStr

Converts a floating-point value to a string.

FloatToStrF

Converts a floating point value to a string, using a specified Format, Precision, and Digits.

FloatToText

Converts a floating-point value to an unterminated character string, using a specified Format, Precision, and Digits.

FloatToTextFmt

Converts a floating-point value to an unterminated character string, using a specified format.

FmtLoadStr

Returns formatted output using a resourced format string.

FmtStr

Assembles a formatted string using a format string and an array of arguments.

ForceDirectories

Creates a new directory, including the creation of parent directories as needed.

Format

Returns a formatted string assembled from a format string and an array of arguments.

FormatBuf

Formats the arguments from an array, placing the result in a buffer.

FormatCurr

Formats a Currency object.

FormatDateTime

Formats a TDateTime value.

FormatFloat

Formats a floating-point value.

FreeAndNil

Frees an object reference and replaces the reference with nil (Delphi) or NULL (C++).

GDAL

Get Delphi Access Licence.

GUIDToString

Converts a class identifier GUID into a string.

GetCurrentDir

Returns the name of the current directory.

GetDefaultFallbackLanguages

GetDefaultFallbackLanguages returns the current DefaultFallbackLanguages string.

GetEnvironmentVariable

Retrieves an environment variable value.

GetFileVersion

Returns file version.

GetFormatSettings

Resets the date and number format parameters to initial values.

GetLocaleChar

Retrieves the first character of a localization value.

GetLocaleDirectory
GetLocaleFile
GetLocaleFormatSettings

Populates a TFormatSettings data structure.

GetLocaleStr

Retrieves a localization value.

GetModuleName

Returns the fully qualified name of a module, given its handle.

GetPackageDescription

Returns the description resource of a package.

GetPackageInfo

Enumerates all the units and required packages for a package.

GetTime

Returns the current time.

HashName

HashName generates a hash code from a null-terminated string.

IncAMonth

Increments date information by one month.

IncMonth

Returns a date shifted by a specified number of months.

IncludeTrailingBackslash

Ensures that a path name ends with delimiter.

IncludeTrailingPathDelimiter

Ensures that path name ends with delimiter.

InitializePackage

Validates and initializes a given package.

IntToHex

Returns the hex representation of an integer.

IntToStr

Converts an integer into a string.

IsAssembly

Determines whether a dll is an Assembly.

IsDelimiter

Indicates whether a specified character in a string matches one of a set of delimiters.

IsEqualGUID

Indicates whether two TGUID values are the same.

IsLeadChar

Checks whether a character is a valid lead character (first in a multi-byte character sequence).

IsLeapYear

Indicates whether a specified year is a leap year.

IsPathDelimiter

Indicates whether the byte at a specified position in a string is the path delimiter.

IsValidIdent

Determines whether a string conforms to Delphi identifier rules.

Languages

Lists the locales for which support is available.

LastDelimiter

Returns the byte index of the last character that matches any character in a specified set of delimiters.

LoadPackage

Loads a specified package.

LoadStr

Loads a string resource from the application's executable file.

LocaleDirectoryExists
LocaleFileExists
LowerCase

Converts an ASCII string to lowercase.

MSecsToTimeStamp

Converts a specified number of milliseconds into a TTimeStamp value.

NewStr

Allocates a string on the heap.

NextCharIndex

Returns the byte index of the next character.

Now

Returns the current date and time.

OutOfMemoryError

Raises an EOutOfMemory exception.

PlatformBytesOf

Converts a string into a byte array.

PlatformStringOf

Converts a byte array into a Unicode string.

PreferredUILanguageList

PreferredUILanguageList returns a list that contains the preferred UI languages.

PreferredUILanguages

PreferredUILanguages returns the preferred UI languages for user's default UI languages at run time.

QuotedStr

Returns the quoted version of a string.

RCS

Check for Delphi Client/Server Licence.

RPR

Check for Delphi Professional Licence.

RaiseLastOSError

Raises an exception for the last occurring OS or system library error.

RaiseLastWin32Error

Raises an exception for the last occurring Win32 error.

RemoveDir

Deletes an existing empty directory.

RenameFile

Changes a file name.

ReplaceDate

Replaces the date portion of a TDateTime value with a specified date.

ReplaceTime

Replaces the time portion of a TDateTime value with a specified time.

SafeLoadLibrary

Safe and simple library loading

SameFileName

Compares file names based on the current locale.

SameStr

Compares two strings by ordinal value with case sensitivity.

SameText

Compares two strings by ordinal value without case sensitivity.

SetCurrentDir

Sets the current directory.

SetDefaultFallbackLanguages

SetDefaultFallbackLanguages sets a new list of default fallback languages.

ShowException

Displays an exception message with its physical address.

Sleep

Delay program execution for a specified number of milliseconds.

StrAlloc

Allocates a buffer for a null-terminated string and returns a pointer to its first character.

StrBufSize

Returns the maximum number of characters that can be stored in a buffer allocated by StrAlloc.

StrByteType

Indicates whether a byte in a string is a single-byte character, the first byte of a double-byte character, or the second byte of a double-byte character.

StrCat

Appends a copy of Source to the end of Dest and returns the concatenated string.

StrCharLength

Returns the length, in bytes, of a character.

StrComp

Compares two strings with case sensitivity.

StrCopy

Copies a null-terminated string.

StrDispose

Disposes of a string.

StrECopy

Copies a null-terminated string.

StrEnd

Returns a pointer to the end of a null-terminated string.

StrFmt

Formats entries in an array.

StrIComp

Compares two strings without case sensitivity.

StrLCat

Appends up to a specified maximum number of characters to a string.

StrLComp

Compares up to a specified maximum number of characters in two strings.

StrLCopy

Copies up to a specified maximum number of characters from Source to Dest.

StrLFmt

Formats a series of arguments from a specified open array into a buffer.

StrLIComp

Compares strings up to a specified maximum number of characters, without case sensitivity.

StrLen

Returns the number of characters in a string, excluding the null terminator.

StrLower

Converts a string to lowercase.

StrMove

Copies a specified number of characters to the string.

StrNew

Allocates space on and copies a string to the heap, returning a pointer to the string.

StrNextChar

Returns a pointer to the following character.

StrPCopy

Copies an AnsiString (long string) to a null-terminated string.

StrPLCopy

Copies characters from an AnsiString (long string) to a null-terminated string.

StrPas

Converts null-terminated string to an AnsiString (long string).

StrPos

Returns a pointer to the first occurrence of STR2 in STR1.

StrRScan

Returns a pointer to the last occurrence of a specified character in a string.

StrScan

Returns a pointer to the first occurrence of a specified character in a string.

StrToBool

Converts a string to a Boolean value.

StrToBoolDef

Converts a string to a Boolean value, with error default.

StrToCurr

Converts a string to a Currency value.

StrToCurrDef

Converts a string to a Currency value, with error default.

StrToDate

Converts a string to a TDateTime value.

StrToDateDef

Converts a string to a TDateTime value, with error default.

StrToDateTime

Converts a string to a TDateTime value.

StrToDateTimeDef

Converts a string to a TDateTime value with error default.

StrToFloat

Converts a given string to a floating-point value.

StrToFloatDef

Converts a given string into a floating-point value with error default.

StrToInt

Converts a string that represents an integer (decimal or hex notation) into a number.

StrToInt64

Converts a string that represents an integer (decimal or hex notation) into a number.

StrToInt64Def

Converts a string that represents an integer (decimal or hex notation) into a number.

StrToIntDef

Converts a string that represents an integer (decimal or hex notation) into a number with error default.

StrToTime

Converts a string to a TDateTime value.

StrToTimeDef

Converts a string to a TDateTime value with error default.

StrUpper

Returns a string in uppercase.

StringOf

Converts a byte array into a Unicode string using the default system locale.

StringReplace

Replaces occurrences of a substring within a string.

StringToGUID

Converts a string into a GUID.

Supports

Indicates whether a given object or interface supports a specified interface.

SysErrorMessage

Converts OS error codes into strings.

SystemTimeToDateTime

Converts a system time value into a TDateTime value.

TextPos

Returns a pointer to the first occurrence of a substring in a string. TextPos is case-insensitive.

TextToFloat

Converts a null-terminated string to a floating-point value.

Time

Returns the current time.

TimeStampToDateTime

Converts a TTimeStamp value into the corresponding TDateTime value.

TimeStampToMSecs

Converts a TTimeStamp value into an absolute number of milliseconds.

TimeToStr

Returns a string that represents a TDateTime value.

Trim

Trims leading and trailing spaces and controls characters from a string.

TrimLeft

Trims leading spaces and control characters from a string.

TrimRight

Trims trailing spaces and control characters from a string.

TryEncodeDate

Creates a TDateTime value that represents a specified Year, Month, and Day.

TryEncodeTime

Creates a TDateTime value for a specified Hour, Min, Sec, and MSec.

TryFloatToCurr

Converts a floating-point value into a Currency value.

TryFloatToDateTime

Converts a floating-point value into a TDateTime value.

TryStrToBool

Converts a string to a Boolean value, with a Boolean success code.

TryStrToCurr

Converts a string to a Currency value, with a Boolean success code.

TryStrToDate

Converts a string to a TDateTime value, with a Boolean success code.

TryStrToDateTime

Converts a string to a TDateTime value with a Boolean success code.

TryStrToFloat

Converts a given string to a floating-point value with a boolean success code.

TryStrToInt

Converts a string that represents an integer (decimal or hex notation) into a number with Boolean success code.

TryStrToInt64

Converts a string that represents an integer (decimal or hex notation) into a number.

TryStrToTime

Converts a string to a TDateTime value with an error default.

UIntToStr

Converts an unsigned integer into a string.

UnloadPackage

Unloads a package.

UpperCase

Returns a copy of a string in uppercase.

WideBytesOf

Converts a Unicode string into an array of bytes.

WideCompareStr

Compares Unicode strings based on the current locale with case sensitivity.

WideCompareText

Compares Unicode strings based on the current locale without case sensitivity.

WideFmtStr

Assembles a formatted Unicode string using a format string and an array of arguments.

WideFormat

Returns a formatted Unicode string assembled from a format string and an array of arguments.

WideFormatBuf

Formats the arguments from an array, placing the result in a buffer.

WideLowerCase

Returns Unicode string converted to lowercase.

WideSameStr

Compares Unicode strings based on the current locale with case sensitivity.

WideSameText

Compares Unicode strings based on the current locale without case sensitivity.

WideStrAlloc

Allocates a buffer for a null-terminated wide string and returns a pointer to its first character.

WideStringOf

Converts a byte array into a Unicode string using the Unicode locale.

WideUpperCase

Returns Unicode string converted to uppercase.

Win32Check

Checks the return value of a Windows API call and raises an appropriate exception when it indicates failure.

WrapText

Splits a string into multiple lines as its length approaches a specified size.

Interface

ILanguageEnumerable
ILanguageEnumerator
IReadWriteSync

IReadWriteSync is the interface for general reader/writer lock synchronization.

Pointer

PByteArray

PByteArray declares a pointer to an array of Bytes.

PDayTable

PDayTable is a pointer to a TDayTable type.

PExceptionRecord

PExceptionRecord is a pointer to a TExceptionRecord type.

PThreadInfo
PWordArray

PWordArray is a pointer to a TWordArray type.

Set

TIntegerSet

TIntegerSet is used to treat an integer as a set of bits.

TReplaceFlags

TReplaceFlags indicates how to perform a search-and-replace operation.

TSysCharSet

TSysCharSet is a set of characters.

Struct

Int64Rec

Int64Rec declares a utility record to provide access to the bytes of an Int64 value.

LongRec

LongRec declares a utility record to provide access to the bytes of a LongWord value.

TCharSearch
TExceptionRecord

TExceptionRecord holds information about an exception in an application.

TFloatRec

TFloatRec declares a utility record that provides access to the attributes of a floating-point number.

TFormatSettings

TFormatSettings defines a thread-safe string formatting context.

TLangRec

TLangRec declares a record used to describe a Windows locale.

TSearchRec

TSearchRec defines file information searched for by FindFirst or FindNext.

TSysLocale

TSysLocale represents locale information.

TThreadInfo
TTimeStamp

TTimeStamp represents time and date values.

WordRec

WordRec declares a utility record to store the high and low order bytes of a variable.

Type

TFileName

TFileName is a string that represents a file name.

Variable

CleanUpStackInfoProc
CurrencyDecimals

CurrencyDecimals is the number of digits to the right of the decimal point in a currency amount.

CurrencyFormat

CurrencyFormat defines the currency symbol placement and separation used in floating-point to decimal conversions. Possible values are: 0 = $1 | 1 = 1$ | 2 = $ 1 | 3 = 1 $

CurrencyString

CurrencyString defines the currency symbol (or characters) used in floating-point to decimal conversions.

DateSeparator

DateSeparator is the character used to separate the year, month, and day parts of a date value.

DecimalSeparator

DecimalSeparator is the character used to separate the integer part from the fractional part of a number. This variable must have a value other than #0.

EmptyAnsiStr

An empty string constant

EmptyStr

An empty string constant.

EmptyWideStr

An empty string version of the WideString constant.

EraNames

Defines the names of calendar eras for East Asian locales.

EraYearOffsets

Controls the DateTimeToStr function (for East Asian locales).

FASCIIEncoding
FBigEndianUnicodeEncoding
FDefaultEncoding
FUTF7Encoding
FUTF8Encoding
FUnicodeEncoding
FalseBoolStrs

Lists strings that can represent the boolean value False.

GetDiskFreeSpaceEx
GetExceptionStackInfoProc
GetStackInfoStringProc
HexDisplayPrefix

HexDisplayPrefix contains the prefix to display on hexadecimal values--$ for Pascal (Delphi) syntax, 0x for C++ syntax.

LeadBytes

Lists all values that can be the first byte of a double-byte character on the local system.

ListSeparator

The character used to separate items in a list.

LongDateFormat

LongDateFormat is the format string used to convert a date value to a long string suitable for display but not for editing.

LongDayNames

LongDayNames is the array of strings containing long day names. The dddd format specifier in a format string passed to FormatDateTime causes a long day name to be substituted.

LongMonthNames

LongMonthNames is the array of strings containing long month names. The mmmm format specifier in a format string passed to FormatDateTime causes a long month name to be substituted.

LongTimeFormat

LongTimeFormat is the format string used to convert a time value to a string with hours, minutes, and seconds.

NegCurrFormat

NegCurrFormat defines the currency format used in floating-point to decimal conversions of negative numbers.

NullAnsiStr
NullStr

A pointer to an empty string.

NullWideStr

A pointer to an empty wide string.

ShortDateFormat

ShortDateFormat is the format string used to convert a date value to a short string suitable for editing.

ShortDayNames

ShortDayNames is the array of strings containing short day names. The ddd format specifier in a format string passed to FormatDateTime causes a short day name to be substituted.

ShortMonthNames

ShortMonthNames is the array of strings containing short month names. The mmm format specifier in a format string passed to FormatDateTime causes a short month name to be substituted.

ShortTimeFormat

ShortTimeFormat is the format string used to convert a time value to a short string with only hours and minutes.

SysLocale

SysLocale holds locale information.

ThousandSeparator

ThousandSeparator is the character used to separate thousands in numbers with more than three digits to the left of the decimal separator.

TimeAMString

TimeAMString is the suffix string used for time values from 00:00 through 11:59 in 12-hour clock format.

TimePMString

TimePMString is the suffix string used for time values from 12:00 through 23:59 in 12-hour clock format.

TimeSeparator

TimeSeparator is the character used to separate the hour, minute, and second parts of a time value.

TrueBoolStrs

Lists strings that can represent the boolean value False.

TwoDigitYearCenturyWindow

Delphi Information

From SysUtils.pas

	TwoDigitYearCenturyWindow: Word


Unit: SysUtils

Type: variable

Visibility: public

C++ Information

From SysUtils.hpp

	unsigned short TwoDigitYearCenturyWindow;


Unit: SysUtils

Type: variable

Description

Template:InheritsFrom

Used internally to determine the century of two-digit years when string dates are converted to numeric dates.

If the value of TwoDigitYearCenturyWindow is nonzero, then it is subtracted from the current year to calculate the floating "pivot", prior to which two-digit years are interpreted as pertaining to the next century. By default, the value is 50.

The following table shows some examples:



Current Year TwoDigitCenturyWindow Value Century "Pivot" StrToDate('01/01/03') StrToDate('01/01/68') StrToDate('01/01/50')

1998

0

1900

1903

1968

1950

1998

50

2000

2003

1968

1950

2020

50

1970

2003

2068

2050



Note: The TwoDigitYearCenturyWindow variable is deprecated. Use the TwoDigitYearCenturyWindow field of the FormatSettings global variable instead.

Win32BuildNumber

Specifies the build level of the Windows Operating System operating.

Win32CSDVersion

Specifies the Win32 latest installed service pack.

Win32MajorVersion

Specifies which major Windows Operating System version is operating.

Win32MinorVersion

Specifies which minor Windows Operating System version is operating.

Win32Platform

Specifies the Windows Operating System platform identifier.

C++ Information

Class

EAbort

EAbort is the exception class for errors that should not display an error message dialog box.

EAbstractError

EAbstractError is the exception class for attempts to call an abstract method.

EAccessViolation

EAccessViolation is the exception class for invalid memory access errors.

EArgumentException

EArgumentException is the exception raised for invalid argument values.

EArgumentOutOfRangeException

EArgumentOutOfRangeException is the exception raised for argument values that exceed an allowed range.

EAssertionFailed

EAssertionFailed is the exception class for Delphi assertion failure.

EControlC

EControlC is the exception class for user interrupts.

EConvertError

EConvertError is the exception class for string and object conversion errors.

EDirectoryNotFoundException
EDivByZero

EDivByZero is the exception class for integer divide-by-zero errors.

EEncodingError

EEncodingError is the exception class for encoding errors.

EExternal

EExternal is the exception class that captures external error information.

EExternalException

EExternalException is the exception class for invalid exception codes.

EFileNotFoundException
EHeapException

EHeapException is the exception class for errors related to heap-allocated memory.

EInOutError

EInOutError is the exception class for file input/output errors.

EIntError

EIntError is the base class for integer math error exceptions.

EIntOverflow

EIntOverflow is the exception class for integer calculations whose results are too large to fit in the allocated register.

EIntfCastError

EIntfCastError is the exception class for interface casting errors.

EInvalidCast

EInvalidCast is an exception class for typecasting errors.

EInvalidContainer
EInvalidInsert
EInvalidOp

EInvalidOp is the exception class for undefined floating-point operations.

EInvalidPointer

EInvalidPointer is the exception class for invalid pointer operations.

EMathError

EMathError is the base exception class for floating-point math errors.

EMonitor

EMonitor is the base exception class for all monitor related exceptions.

EMonitorLockException

EMonitorLockException is the exception raised whenever a thread tries to release the lock on a non-owned monitor.

ENoConstructException
ENoMonitorSupportException

ENoMonitorSupportException is the exception raised when the monitor functionality is not available.

ENotSupportedException
EOSError

EOSError is the exception class for operating system errors.

EOutOfMemory

EOutOfMemory is the exception class for unsuccessful attempts to allocate memory.

EOverflow

EOverflow is the exception class for floating-point register overflows.

EPackageError

EPackageError is the exception class for package-related errors.

EPathTooLongException
EPrivilege

EPrivilege is the exception class for processor privilege violations.

EProgrammerNotFound
EPropReadOnly

EPropReadOnly is the exception class for invalid attempts to write to a property using OLE automation.

EPropWriteOnly

EPropWriteOnly is the exception class for invalid attempts to read a property using OLE automation.

ERangeError

ERangeError is the exception for Delphi range errors.

ESafecallException

ESafecallException is the exception for problems with the safecall calling convention.

EStackOverflow

EStackOverflow is the exception class for stack overflows.

EUnderflow

EUnderflow is the exception class for values that are too small to be represented with a floating-point variable.

EVariantError

EVariantError is the exception class for errors involving Variant data types.

EWin32Error

EWin32Error is the exception class for Windows errors.

EZeroDivide

EZeroDivide is the exception class for floating-point divide-by-zero errors.

Exception

Exception is the base class for all run-time exceptions.

ILanguageEnumerable
ILanguageEnumerator
IReadWriteSync

IReadWriteSync is the interface for general reader/writer lock synchronization.

Int64Rec

Int64Rec declares a utility record to provide access to the bytes of an Int64 value.

LongRec

LongRec declares a utility record to provide access to the bytes of a LongWord value.

TBigEndianUnicodeEncoding

TBigEndianUnicodeEncoding is the class that provides support for big-endian Unicode (UTF-16) encoding.

TCharSearch
TEncoding

TEncoding is a class that defines a specific encoding for a character or string.

TExceptionRecord

TExceptionRecord holds information about an exception in an application.

TFloatRec

TFloatRec declares a utility record that provides access to the attributes of a floating-point number.

TFormatSettings

TFormatSettings defines a thread-safe string formatting context.

TLangRec

TLangRec declares a record used to describe a Windows locale.

TLanguages

TLanguages lists all available Windows locales.

TMBCSEncoding

TMBCSEncoding is a base class for other MBCS (Multi-Byte Character Set) encoding classes.

TMultiReadExclusiveWriteSynchronizer

TMultiReadExclusiveWriteSynchronizer protects memory in a multi-threaded application.

TProc

TProc declares a reference to a generic procedure.

TSearchRec

TSearchRec defines file information searched for by FindFirst or FindNext.

TSimpleRWSync

TSimpleRWSync provides the reader/writer lock synchronization support.

TStringBuilder

An editable array of characters whose content has all the functionality of a string object.

TSysLocale

TSysLocale represents locale information.

TThreadInfo
TThreadLocalCounter
TTimeStamp

TTimeStamp represents time and date values.

TUTF7Encoding

TUTF7Encoding is the class that provides support for UTF-7 encoding.

TUTF8Encoding

TUTF8Encoding is the class that provides support for UTF-8 encoding.

TUnicodeEncoding

TUnicodeEncoding is the class that provides support for Unicode (UTF-16) encoding.

WordRec

WordRec declares a utility record to store the high and low order bytes of a variable.

Enum

Sysutils__55
TFilenameCaseMatch

TFilenameCaseMatch indicates how close a match was found to a specified file name.

TFloatFormat

TFloatFormat is an enumerated list of formatting codes for float functions.

TFloatValue

TFloatValue is an enumeration of two basic floating-point types.

TLocaleOptions

TLocaleOptions defines a choice of dependent and independent locale options.

TMbcsByteType

TMbcsByteType represents the use of a single byte in a string that uses a multi-byte character set (MBCS).

TNameType

TNameType enumerates the types of names reported to TPackageInfoProc routines.

TUncertainState

Function

Abort

Raises a silent exception.

AddExitProc

Adds a procedure to the exit list.

AddTerminateProc

Adds a terminate procedure to the system list of termination procedures.

AdjustLineBreaks

Adjusts line break characters to reflect Windows or Linux style.

AnsiCompareFileName

Compares file names based on the current locale.

AnsiCompareStr

Compares strings based on the current locale with case sensitivity.

AnsiCompareText

Compares strings based on the current locale without case sensitivity.

AnsiDequotedStr

Converts a quoted string into an unquoted string.

AnsiExtractQuotedStr

Converts a quoted string into an unquoted string.

AnsiLastChar

Returns a pointer to the last character in a string.

AnsiLowerCase

Returns a string that is a copy of the given string converted to lowercase.

AnsiLowerCaseFileName

Converts a file name to lowercase.

AnsiPos

Locates the position of a substring.

AnsiQuotedStr

Returns the quoted version of a string.

AnsiSameStr

Compares strings based on the current locale with case sensitivity.

AnsiSameText

Compares strings based on the current locale without case sensitivity.

AnsiStrAlloc

Allocates a buffer for a null-terminated AnsiString and returns a pointer to its first character.

AnsiStrComp

Compares null-terminated character strings.

AnsiStrIComp

Compares null-terminated character strings case-insensitively.

AnsiStrLComp

Compares the first MaxLen bytes of two null-terminated strings, case-sensitively.

AnsiStrLIComp

Compares two strings, case-insensitively, up to the first MaxLen bytes.

AnsiStrLastChar

Returns a pointer to the last character in a null-terminated string.

AnsiStrLower

Converts all characters in a null-terminated string to lowercase.

AnsiStrPos

Returns a pointer to the first occurrence of a substring.

AnsiStrRScan

Returns a pointer to the last occurrence of a specified character in a specified string.

AnsiStrScan

Returns a pointer to the first occurrence of a character in a string.

AnsiStrUpper

Converts all characters in a null-terminated string to uppercase.

AnsiUpperCase

Converts a string to uppercase.

AnsiUpperCaseFileName

Converts a file name to uppercase.

AppendStr

Appends a dynamically allocated string to an existing string.

AssignStr

Assigns a new dynamically allocated string to a specified pointer.

Beep

Generates a message beep.

BoolToStr

Converts a Boolean value into a string.

ByteLength

Returns the length of a given string in bytes.

ByteToCharIndex

Returns the position of the character that contains a specified byte in a string.

ByteToCharLen

Returns the number of characters fully contained in the first MaxLen bytes of a string.

ByteType

Indicates whether a byte in a string is a single-byte character, the first byte of a double-byte character, or the second byte of a double-byte character.

BytesOf

Converts a string into a byte array.

CallTerminateProcs

Calls all of the functions in the termination procedure list.

ChangeFileExt

Changes the extension of a file name.

ChangeFilePath

Changes the path of a file name.

CharInSet

CharInSet checks whether a given character is contained within a set.

CharLength

Returns the number of bytes used by character.

CharToByteIndex

Returns the 1-based index of the first byte of a specified character in a string.

CharToByteLen

Returns the length, in bytes, of the first MaxLen characters of a string.

CharToElementIndex

Returns the 1-based index of the first element of a specified character in a string.

CharToElementLen

Returns the length, in bytes, of the first MaxLen characters of a string.

CheckWin32Version

Check to see whether you are running on a specific level (or higher) of the Windows 32 bit Operating System.

CompareMem

Performs a binary comparison of two memory images.

CompareStr

Compares two strings case-sensitively.

CompareText

Compares two strings by their ordinal value without case sensitivity.

CreateDir

Creates a new directory.

CreateGUID

Creates a globally unique identifier.

CurrToStr

Formats a Currency value as a string.

CurrToStrF

Converts a Currency value to a string, using a specified format.

CurrentYear

Returns the current year.

Date

Returns the current date.

DateTimeToFileDate

Converts a TDateTime value into an OS timestamp value.

DateTimeToStr

Converts a TDateTime value to a string.

DateTimeToString

Converts a TDateTime value into a string using a specified Format.

DateTimeToSystemTime

Converts a TDateTime value into the Win32 API's system time type.

DateTimeToTimeStamp

Converts a TDateTime value into the corresponding TTimeStamp value.

DateToStr

Converts a TDateTime value into a string.

DayOfWeek

Returns the day of the week for a specified date.

DecodeDate

Returns Year, Month, and Day values for a TDateTime value.

DecodeDateFully

Returns Year, Month, and Day, and Day-of-Week values for a TDateTime value.

DecodeTime

Breaks a TDateTime value into hours, minutes, seconds, and milliseconds.

DelegatesEqual

DelegatesEqual checks whether two delegates are equal.

DeleteFileA
DirectoryExists

Determines whether a specified directory exists.

DiskFree

Returns the number of free bytes on a specified drive.

DiskSize

Returns the size, in bytes, of a specified drive.

DisposeStr

Disposes of a string pointer that was allocated using NewStr.

ElementToCharIndex

Returns the position of the character that contains a specified element in a string.

ElementToCharLen

Returns the number of characters fully contained in the first MaxLen elements of a string.

EncodeDate

Returns a TDateTime value that represents a specified Year, Month, and Day.

EncodeTime

Returns a TDateTime value for a specified Hour, Min, Sec, and MSec.

ExceptionErrorMessage

Formats a standard error message.

ExcludeTrailingBackslash

Returns a path name without a trailing delimiter.

ExcludeTrailingPathDelimiter

Returns a path name without a trailing delimiter.

ExpandFileName

Returns the full path name for a relative file name.

ExpandFileNameCase

Returns the full path name for a relative file name on a case-sensitive file system.

ExpandUNCFileName

Returns the full path of a file name in UNC format, if appropriate.

ExtractFileDir

Extracts the drive and directory parts from FileName.

ExtractFileDrive

Returns the drive portion of a file name.

ExtractFileExt

Returns the extension portions of a file name.

ExtractFileName

Extracts the name and extension parts of a file name.

ExtractFilePath

Returns the drive and directory portions of a file name.

ExtractRelativePath

Returns a relative path name, relative to a specific base directory.

ExtractShortPathName

Converts a file name to the short 8.3 form.

FileAge

Returns the OS time stamp of a file.

FileClose

Closes a specified file.

FileCreate

Creates a new file.

FileDateToDateTime

Converts an OS time stamp value to TDateTime value.

FileExists

Tests whether a specified file exists.

FileGetAttr

Returns the file attributes of FileName.

FileGetDate

Returns an OS time stamp for a specified file.

FileIsReadOnly

Reports whether a file is read-only.

FileOpen

Opens a specified file using a specified access mode.

FileRead

Reads a specified number of bytes from a file.

FileSearch

Searches a specified directory path for a file.

FileSeek

Repositions read/write point.

FileSetAttr

Sets the file attributes of a specified file.

FileSetDate

Sets the OS time stamp for a specified file.

FileSetReadOnly

Sets the file permissions to read-only.

FileWrite

Writes the contents of a buffer to the current position in a file.

FinalizePackage

Finalizes the specified package (.bpl file).

FindClose

Releases memory allocated by FindFirst.

FindCmdLineSwitch

Determines whether a string was passed as a command-line argument to the application.

FindDelimiter

Returns the index of a delimiter character in the given string.

FindFirst

Searches for the first instance of a file name with a given set of attributes in a specified directory.

FindNext

Returns the next entry matching the name and attributes specified in a previous call to FindFirst.

FloatToCurr

Converts a floating-point value to a Currency value.

FloatToDateTime

Converts a floating-point value to a TDateTime value.

FloatToDecimal

Converts a floating-point value to a decimal representation.

FloatToStr

Converts a floating-point value to a string.

FloatToStrF

Converts a floating point value to a string, using a specified Format, Precision, and Digits.

FloatToText

Converts a floating-point value to an unterminated character string, using a specified Format, Precision, and Digits.

FloatToTextFmt

Converts a floating-point value to an unterminated character string, using a specified format.

FmtLoadStr

Returns formatted output using a resourced format string.

FmtStr

Assembles a formatted string using a format string and an array of arguments.

ForceDirectories

Creates a new directory, including the creation of parent directories as needed.

Format

Returns a formatted string assembled from a format string and an array of arguments.

FormatBuf

Formats the arguments from an array, placing the result in a buffer.

FormatCurr

Formats a Currency object.

FormatDateTime

Formats a TDateTime value.

FormatFloat

Formats a floating-point value.

FreeAndNil

Frees an object reference and replaces the reference with nil (Delphi) or NULL (C++).

GDAL

Get Delphi Access Licence.

GUIDToString

Converts a class identifier GUID into a string.

GetCurrentDir

Returns the name of the current directory.

GetDefaultFallbackLanguages

GetDefaultFallbackLanguages returns the current DefaultFallbackLanguages string.

GetEnvironmentVariableA
GetFileVersion

Returns file version.

GetFormatSettings

Resets the date and number format parameters to initial values.

GetLocaleChar

Retrieves the first character of a localization value.

GetLocaleDirectory
GetLocaleFile
GetLocaleFormatSettings

Populates a TFormatSettings data structure.

GetLocaleStr

Retrieves a localization value.

GetModuleName

Returns the fully qualified name of a module, given its handle.

GetPackageDescription

Returns the description resource of a package.

GetPackageInfo

Enumerates all the units and required packages for a package.

GetTime

Returns the current time.

HashName

HashName generates a hash code from a null-terminated string.

IncAMonth

Increments date information by one month.

IncMonth

Returns a date shifted by a specified number of months.

IncludeTrailingBackslash

Ensures that a path name ends with delimiter.

IncludeTrailingPathDelimiter

Ensures that path name ends with delimiter.

InitializePackage

Validates and initializes a given package.

IntToHex

Returns the hex representation of an integer.

IntToStr

Converts an integer into a string.

IsAssembly

Determines whether a dll is an Assembly.

IsDelimiter

Indicates whether a specified character in a string matches one of a set of delimiters.

IsLeadChar

Checks whether a character is a valid lead character (first in a multi-byte character sequence).

IsLeapYear

Indicates whether a specified year is a leap year.

IsPathDelimiter

Indicates whether the byte at a specified position in a string is the path delimiter.

IsValidIdent

Determines whether a string conforms to Delphi identifier rules.

Languages

Lists the locales for which support is available.

LastDelimiter

Returns the byte index of the last character that matches any character in a specified set of delimiters.

LoadPackage

Loads a specified package.

LoadStr

Loads a string resource from the application's executable file.

LocaleDirectoryExists
LocaleFileExists
LowerCase

Converts an ASCII string to lowercase.

MSecsToTimeStamp

Converts a specified number of milliseconds into a TTimeStamp value.

NewStr

Allocates a string on the heap.

NextCharIndex

Returns the byte index of the next character.

Now

Returns the current date and time.

OutOfMemoryError

Raises an EOutOfMemory exception.

PlatformBytesOf

Converts a string into a byte array.

PlatformStringOf

Converts a byte array into a Unicode string.

PreferredUILanguageList

PreferredUILanguageList returns a list that contains the preferred UI languages.

PreferredUILanguages

PreferredUILanguages returns the preferred UI languages for user's default UI languages at run time.

QuotedStr

Returns the quoted version of a string.

RCS

Check for Delphi Client/Server Licence.

RPR

Check for Delphi Professional Licence.

RaiseLastOSError

Raises an exception for the last occurring OS or system library error.

RaiseLastWin32Error

Raises an exception for the last occurring Win32 error.

RemoveDir

Deletes an existing empty directory.

RenameFile

Changes a file name.

ReplaceDate

Replaces the date portion of a TDateTime value with a specified date.

ReplaceTime

Replaces the time portion of a TDateTime value with a specified time.

SafeLoadLibrary

Safe and simple library loading

SameFileName

Compares file names based on the current locale.

SameStr

Compares two strings by ordinal value with case sensitivity.

SameText

Compares two strings by ordinal value without case sensitivity.

SetCurrentDir

Sets the current directory.

SetDefaultFallbackLanguages

SetDefaultFallbackLanguages sets a new list of default fallback languages.

ShowException

Displays an exception message with its physical address.

StrAlloc

Allocates a buffer for a null-terminated string and returns a pointer to its first character.

StrBufSize

Returns the maximum number of characters that can be stored in a buffer allocated by StrAlloc.

StrByteType

Indicates whether a byte in a string is a single-byte character, the first byte of a double-byte character, or the second byte of a double-byte character.

StrCat

Appends a copy of Source to the end of Dest and returns the concatenated string.

StrCharLength

Returns the length, in bytes, of a character.

StrComp

Compares two strings with case sensitivity.

StrCopy

Copies a null-terminated string.

StrDispose

Disposes of a string.

StrECopy

Copies a null-terminated string.

StrEnd

Returns a pointer to the end of a null-terminated string.

StrFmt

Formats entries in an array.

StrIComp

Compares two strings without case sensitivity.

StrLCat

Appends up to a specified maximum number of characters to a string.

StrLComp

Compares up to a specified maximum number of characters in two strings.

StrLCopy

Copies up to a specified maximum number of characters from Source to Dest.

StrLFmt

Formats a series of arguments from a specified open array into a buffer.

StrLIComp

Compares strings up to a specified maximum number of characters, without case sensitivity.

StrLen

Returns the number of characters in a string, excluding the null terminator.

StrLower

Converts a string to lowercase.

StrMove

Copies a specified number of characters to the string.

StrNew

Allocates space on and copies a string to the heap, returning a pointer to the string.

StrNextChar

Returns a pointer to the following character.

StrPCopy

Copies an AnsiString (long string) to a null-terminated string.

StrPLCopy

Copies characters from an AnsiString (long string) to a null-terminated string.

StrPas

Converts null-terminated string to an AnsiString (long string).

StrPos

Returns a pointer to the first occurrence of STR2 in STR1.

StrRScan

Returns a pointer to the last occurrence of a specified character in a string.

StrScan

Returns a pointer to the first occurrence of a specified character in a string.

StrToBool

Converts a string to a Boolean value.

StrToBoolDef

Converts a string to a Boolean value, with error default.

StrToCurr

Converts a string to a Currency value.

StrToCurrDef

Converts a string to a Currency value, with error default.

StrToDate

Converts a string to a TDateTime value.

StrToDateDef

Converts a string to a TDateTime value, with error default.

StrToDateTime

Converts a string to a TDateTime value.

StrToDateTimeDef

Converts a string to a TDateTime value with error default.

StrToFloat

Converts a given string to a floating-point value.

StrToFloatDef

Converts a given string into a floating-point value with error default.

StrToInt

Converts a string that represents an integer (decimal or hex notation) into a number.

StrToInt64

Converts a string that represents an integer (decimal or hex notation) into a number.

StrToInt64Def

Converts a string that represents an integer (decimal or hex notation) into a number.

StrToIntDef

Converts a string that represents an integer (decimal or hex notation) into a number with error default.

StrToTime

Converts a string to a TDateTime value.

StrToTimeDef

Converts a string to a TDateTime value with error default.

StrUpper

Returns a string in uppercase.

StringOf

Converts a byte array into a Unicode string using the default system locale.

StringReplace

Replaces occurrences of a substring within a string.

StringToGUID

Converts a string into a GUID.

Supports

Indicates whether a given object or interface supports a specified interface.

SysErrorMessage

Converts OS error codes into strings.

SystemTimeToDateTime

Converts a system time value into a TDateTime value.

TextPos

Returns a pointer to the first occurrence of a substring in a string. TextPos is case-insensitive.

TextToFloat

Converts a null-terminated string to a floating-point value.

Time

Returns the current time.

TimeStampToDateTime

Converts a TTimeStamp value into the corresponding TDateTime value.

TimeStampToMSecs

Converts a TTimeStamp value into an absolute number of milliseconds.

TimeToStr

Returns a string that represents a TDateTime value.

Trim

Trims leading and trailing spaces and controls characters from a string.

TrimLeft

Trims leading spaces and control characters from a string.

TrimRight

Trims trailing spaces and control characters from a string.

TryEncodeDate

Creates a TDateTime value that represents a specified Year, Month, and Day.

TryEncodeTime

Creates a TDateTime value for a specified Hour, Min, Sec, and MSec.

TryFloatToCurr

Converts a floating-point value into a Currency value.

TryFloatToDateTime

Converts a floating-point value into a TDateTime value.

TryStrToBool

Converts a string to a Boolean value, with a Boolean success code.

TryStrToCurr

Converts a string to a Currency value, with a Boolean success code.

TryStrToDate

Converts a string to a TDateTime value, with a Boolean success code.

TryStrToDateTime

Converts a string to a TDateTime value with a Boolean success code.

TryStrToFloat

Converts a given string to a floating-point value with a boolean success code.

TryStrToInt

Converts a string that represents an integer (decimal or hex notation) into a number with Boolean success code.

TryStrToInt64

Converts a string that represents an integer (decimal or hex notation) into a number.

TryStrToTime

Converts a string to a TDateTime value with an error default.

UIntToStr

Converts an unsigned integer into a string.

UnloadPackage

Unloads a package.

UpperCase

Returns a copy of a string in uppercase.

WideBytesOf

Converts a Unicode string into an array of bytes.

WideCompareStr

Compares Unicode strings based on the current locale with case sensitivity.

WideCompareText

Compares Unicode strings based on the current locale without case sensitivity.

WideFmtStr

Assembles a formatted Unicode string using a format string and an array of arguments.

WideFormat

Returns a formatted Unicode string assembled from a format string and an array of arguments.

WideFormatBuf

Formats the arguments from an array, placing the result in a buffer.

WideLowerCase

Returns Unicode string converted to lowercase.

WideSameStr

Compares Unicode strings based on the current locale with case sensitivity.

WideSameText

Compares Unicode strings based on the current locale without case sensitivity.

WideStrAlloc

Allocates a buffer for a null-terminated wide string and returns a pointer to its first character.

WideStringOf

Converts a byte array into a Unicode string using the Unicode locale.

WideUpperCase

Returns Unicode string converted to uppercase.

Win32Check

Checks the return value of a Windows API call and raises an appropriate exception when it indicates failure.

WrapText

Splits a string into multiple lines as its length approaches a specified size.

Typedef

ExceptClass

ExceptClass declares an Exception class.

PByteArray

PByteArray declares a pointer to an array of Bytes.

PDayTable

PDayTable is a pointer to a TDayTable type.

PExceptionRecord

PExceptionRecord is a pointer to a TExceptionRecord type.

PThreadInfo
PWordArray

PWordArray is a pointer to a TWordArray type.

TByteArray

TByteArray declares an array of Bytes.

TBytes

TBytes declares an array of Bytes.

TCharArray

TCharArray declares an array of characters.

TDayTable

TDayTable is used to hold the number of days of each month of a year.

TFileName

TFileName is a string that represents a file name.

TIntegerSet

TIntegerSet is used to treat an integer as a set of bits.

TMREWSync

TMREWSync is a short name equivalent to TMultiReadExclusiveWriteSynchronizer.

TPackageInfoProc

TPackageInfoProc is a callback procedure invoked by GetPackageInfo.

TProcedure

TProcedure declares a procedure.

TReplaceFlags

TReplaceFlags indicates how to perform a search-and-replace operation.

TSysCharSet

TSysCharSet is a set of characters.

TTerminateProc

TTerminateProc is a call-back function invoked by CallTerminateProcs.

TValidatePackageProc

TValidatePackageProc is a call-back function invoked by LoadPackage.

TWordArray

TWordArray declares an array of Words.

_di_ILanguageEnumerable
_di_ILanguageEnumerator
_di_IReadWriteSync
_di_TProc

Variable

CurrencyDecimals

CurrencyDecimals is the number of digits to the right of the decimal point in a currency amount.

CurrencyFormat

CurrencyFormat defines the currency symbol placement and separation used in floating-point to decimal conversions. Possible values are: 0 = $1 | 1 = 1$ | 2 = $ 1 | 3 = 1 $

CurrencyString

CurrencyString defines the currency symbol (or characters) used in floating-point to decimal conversions.

DateSeparator

DateSeparator is the character used to separate the year, month, and day parts of a date value.

DecimalSeparator

DecimalSeparator is the character used to separate the integer part from the fractional part of a number. This variable must have a value other than #0.

EmptyAnsiStr

An empty string constant

EmptyStr

An empty string constant.

EmptyWideStr

An empty string version of the WideString constant.

EraNames

Defines the names of calendar eras for East Asian locales.

EraYearOffsets

Controls the DateTimeToStr function (for East Asian locales).

FalseBoolStrs

Lists strings that can represent the boolean value False.

GetDiskFreeSpaceEx
HexDisplayPrefix

HexDisplayPrefix contains the prefix to display on hexadecimal values--$ for Pascal (Delphi) syntax, 0x for C++ syntax.

LeadBytes

Lists all values that can be the first byte of a double-byte character on the local system.

ListSeparator

The character used to separate items in a list.

LongDateFormat

LongDateFormat is the format string used to convert a date value to a long string suitable for display but not for editing.

LongDayNames

LongDayNames is the array of strings containing long day names. The dddd format specifier in a format string passed to FormatDateTime causes a long day name to be substituted.

LongMonthNames

LongMonthNames is the array of strings containing long month names. The mmmm format specifier in a format string passed to FormatDateTime causes a long month name to be substituted.

LongTimeFormat

LongTimeFormat is the format string used to convert a time value to a string with hours, minutes, and seconds.

MaxCurrency

Defines the largest value supported for Currency data types.

MaxDateTime

Specifies the highest supported TDateTime value.

MinCurrency

Defines the largest negative value supported for Currency data types.

MinDateTime

Specifies the earliest supported TDateTime value.

MonthDays

Defines the number of days in each month for normal and leap years.

NegCurrFormat

NegCurrFormat defines the currency format used in floating-point to decimal conversions of negative numbers.

NullAnsiStr
NullStr

A pointer to an empty string.

NullWideStr

A pointer to an empty wide string.

ShortDateFormat

ShortDateFormat is the format string used to convert a date value to a short string suitable for editing.

ShortDayNames

ShortDayNames is the array of strings containing short day names. The ddd format specifier in a format string passed to FormatDateTime causes a short day name to be substituted.

ShortMonthNames

ShortMonthNames is the array of strings containing short month names. The mmm format specifier in a format string passed to FormatDateTime causes a short month name to be substituted.

ShortTimeFormat

ShortTimeFormat is the format string used to convert a time value to a short string with only hours and minutes.

SysLocale

SysLocale holds locale information.

ThousandSeparator

ThousandSeparator is the character used to separate thousands in numbers with more than three digits to the left of the decimal separator.

TimeAMString

TimeAMString is the suffix string used for time values from 00:00 through 11:59 in 12-hour clock format.

TimePMString

TimePMString is the suffix string used for time values from 12:00 through 23:59 in 12-hour clock format.

TimeSeparator

TimeSeparator is the character used to separate the hour, minute, and second parts of a time value.

TrueBoolStrs

Lists strings that can represent the boolean value False.

TwoDigitYearCenturyWindow

Delphi Information

From SysUtils.pas

	TwoDigitYearCenturyWindow: Word


Unit: SysUtils

Type: variable

Visibility: public

C++ Information

From SysUtils.hpp

	unsigned short TwoDigitYearCenturyWindow;


Unit: SysUtils

Type: variable

Description

Template:InheritsFrom

Used internally to determine the century of two-digit years when string dates are converted to numeric dates.

If the value of TwoDigitYearCenturyWindow is nonzero, then it is subtracted from the current year to calculate the floating "pivot", prior to which two-digit years are interpreted as pertaining to the next century. By default, the value is 50.

The following table shows some examples:



Current Year TwoDigitCenturyWindow Value Century "Pivot" StrToDate('01/01/03') StrToDate('01/01/68') StrToDate('01/01/50')

1998

0

1900

1903

1968

1950

1998

50

2000

2003

1968

1950

2020

50

1970

2003

2068

2050



Note: The TwoDigitYearCenturyWindow variable is deprecated. Use the TwoDigitYearCenturyWindow field of the FormatSettings global variable instead.

Win32BuildNumber

Specifies the build level of the Windows Operating System operating.

Win32CSDVersion

Specifies the Win32 latest installed service pack.

Win32MajorVersion

Specifies which major Windows Operating System version is operating.

Win32MinorVersion

Specifies which minor Windows Operating System version is operating.

Win32Platform

Specifies the Windows Operating System platform identifier.