Indy 9 | Content | Index | Reference

Unit Overview
IdGlobal
Functions in Unit IdGlobal
AnsiMemoryPos
Locates the position of a string value in a memory buffer using Ansi string comparisions.
AnsiPosIdx
Locates the position of a string within another string.
AnsiSameText
Performs a case-insensitive comparison of two Ansi strings.
BreakApart
Separates a string into a list of tokens using a specified delimiter.
CommaSeparatedToStringList
Fills a string list with values from a comma-delimited string.
CopyFileTo
Copies the source file to the destination file.
CurrentProcessId
Determines the process ID for the calling program.
DateTimeToGmtOffSetStr
Retrieves the GMT time offset for a date/time value.
DateTimeToInternetStr
Converts a native date time value to an Internet timestamp.
DebugOutput
Sends a string to the system debugger.
DomainName
Returns the domain name in a host address.
Fetch
Parses a value from the delimited input string.
FetchCaseInsensitive
Parses a value from the delimited input string disregarding the case of compared values.
FileSizeByName
Retrieves the size of a specified file.
FreeAndNil
Frees an object reference and replaces the reference with Nil.
GetFileCreationTime
Gets the creation or update data and time for a specified file.
GetInternetFormattedFileTimeStamp
Returns the file creation timestamp for a given file.
GetMIMETypeFromFile
Retrieves the MIME type for a given file.
GetSystemLocale
Retrieves the character set for the local computer system.
GetThreadHandle
Retrieves the handle for the specified thread.
GetTickCount
Retrieves the number of milliseconds since the computer was started.
GetTickDiff
Calculates the elapsed tick count from two tick count values.
GmtOffsetStrToDateTime
Converts an Internet time difference string to a native date/time value.
GMTToLocalDateTime
Converts a GMT time string to the local time.
IdPorts
Provides a list of port numbers defined for services.
function iif(ATest: Boolean; const ATrue: Boolean; const AFalse: Boolean): Boolean; overload;
Returns a value based on a conditional expression.
function iif(ATest: Boolean; const ATrue: Integer; const AFalse: Integer): Integer; overload;
Returns a value based on a conditional expression.
function iif(ATest: Boolean; const ATrue: string; const AFalse: string): string; overload;
Returns a value based on a conditional expression.
IncludeTrailingSlash
Builds a path string that includes a trailing path delimiter.
IndyGetHostName
Returns the name assigned to the local computer system.
IndyInterlockedDecrement
Provides shared access to a variable in a multi-threaded application.
IndyInterlockedExchange
IndyInterlockedExchange
IndyInterlockedExchangeAdd
IndyInterlockedExchangeAdd
IndyInterlockedIncrement
IndyInterlockedIncrement
IndyStrToBool
Converts a string value to it's Booelan representation.
InMainThread
Indicates if the current thread is the main thread of the application.
IntToBin
Returns a binary string representation for an Integer value.
IsCurrentThread
Indicates if the thread is the current thread of execution.
IsDomain
Indicates if a Host address represents a valid Domain name.
IsFQDN
Indicates if a Domain name is fully-qualified, but not a top-level domain name.
IsHostname
Indicates if a value is a Host name and not an IP address.
function IsNumeric(AChar: Char): Boolean; overload;
Determines if a character is a numeric digit.
function IsNumeric(const AString: string): Boolean; overload;
Determines if a character is a numeric digit.
IsTopDomain
Checks an address for the presence of a top-level domain name.
IsValidIP
Indicates if an argument contains a valid IP address.
MakeMethod
Constructs a TMethod record to assign procedures or functions to object event handlers.
MakeTempFilename
Constructs a unique name for a temporary file.
Max
Determines the larger of two Integer values.
MemoryPos
Returns the index of substring that occurs in values for a memory buffer.
Min
Determines the smaller of two Integer values.
OffsetFromUTC
Determines the local timezone offset from UTC.
PosIdx
Locates the position of a string within another string.
PosInStrArray
Searches an array of strings for an occurrence of the search string.
ProcessPath
Resolves a directory path containing relative path information.
RightStr
Returns the right-most part of a string.
ROL
Calculates a rotated-left value.
ROR
Calculates a rotated-right value.
RPos
Finds the index of a search string using a specified starting position.
SetLocalTime
Updates the time on the local computer.
SetThreadPriority
Updates the priority of a thread.
Sleep
Suspends the current thread for the specified number of milliseconds.
StrInternetToDateTime
Returns the native date and time for an Internet timestamp.
StrToCard
This function converts a string value into a cardinal..
StrToDay
Returns the day number for a short day name.
StrToMonth
Returns the month number for a given short month name.
TimeZoneBias
Calculates the local timezone difference from UTC.
UpCaseFirst
Returns a string with the first letter capitalized.
Win32Type
Determines the Windows platform and operating system for an Indy application.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.