RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Functions

The following table lists functions in this documentation.

 
Name 
Description 
 
Abs 
Returns an absolute value. 
 
Retains access to exception object. 
 
AddModuleUnloadProc adds a call to your defined routine when a package is unloaded. 
 
AddModuleUnloadProc adds a call to your defined routine when a package is unloaded. 
 
Addr 
Returns a pointer to a specified object. 
 
AllocMem allocates a memory block and initializes each byte to zero. 
 
Converts a string encoded in Ansi to UTF-8. 
 
Prepares an existing file for adding text to the end. 
 
Calculates the arctangent of a given number. 
 
Tests whether a Boolean expression is true. 
 
Tests whether a Boolean expression is true. 
 
Tests for a nil (unassigned) pointer or procedural variable. 
 
Associates the name of an external file with a file variable. 
 
Attempts to use a shared memory manager. 
 
Spawns a separate thread of execution. 
 
Reads one or more records from an open file into a variable. 
 
Reads one or more records from an open file into a variable. 
 
Writes one or more records from a variable to an open file. 
 
Writes one or more records from a variable to an open file. 
 
Causes the flow of control to exit a for, while, or repeat statement. 
 
Changes the current directory. 
 
Changes the current directory. 
 
This is function System::CheckSafecallResult. 
 
Chr 
Returns the character for a specified ASCII value. 
 
Terminates the association between a file variable and an external file. 
 
Terminates the association between file variable and an external disk file. 
 
Converts a Comp value to a Currency value. 
 
Converts a Comp value to a double value. 
 
Concatenates two or more strings into one. 
 
Concatenates two or more strings into one. 
 
Concatenates two or more strings into one. 
 
Allows the flow of control to proceed to the next iteration of for, while, or repeat statements. 
 
Copy 
Returns a substring of a string or a segment of a dynamic array. 
 
Cos 
Calculates the cosine of an angle. 
 
Converts a Currency value to a Comp value. 
 
Dec 
Decrements a variable by 1 or N. 
 
Dec 
Decrements a variable by 1 or N. 
 
Removes a substring from a string. 
 
Releases memory allocated for a dynamic variable. 
 
Converts a double value to a Comp. 
 
This is function System.DynArrayClear. 
 
This is function System.DynArrayDim. 
 
This is function System.DynArraySetLength. 
 
Terminates the execution of a thread. 
 
Executes a callback for all the modules in an application. 
 
Executes a callback for all the modules in an application. 
 
Executes a callback for all resource modules in an application. 
 
Executes a callback for all resource modules in an application. 
 
Eof 
Tests whether the file position is at the end of a file. 
 
Eof 
Tests whether the file position is at the end of a file. 
 
Eof 
Tests whether the file position is at the end of a file. 
 
Eoln 
Tests whether the file pointer is at the end of a line. 
 
Eoln 
Tests whether the file pointer is at the end of a line. 
 
Deletes an external file. 
 
Error is used to generate a run-time exception. 
 
Returns the address at which the current exception was raised. 
 
Returns current exception object. 
 
Removes an element from a Delphi set or removes an event handler in .NET applications. 
 
Exit 
Exits from the current procedure. 
 
Exp 
Returns the exponential of X. 
 
Exp 
Returns the exponential of X. 
 
Returns the current file position. 
 
Returns the number of records in a file. 
 
Fills contiguous bytes with a specified value. 
 
Uninitializes a dynamically allocated variable. 
 
Uninitializes a dynamically allocated variable. 
 
Returns the instance handle for the module in which a class type is defined. 
 
This is function System::FindDynaInst. 
 
Returns the instance handle of the module that contains a specified address. 
 
Returns the instance handle of the resource module associated with a specified HInstance
 
Empties the buffer of a text file opened for output. 
 
This is function System.FPower10. 
 
Frac 
Returns the fractional part of a real number. 
 
FreeMem frees a memory block. 
 
FreeMem frees a memory block. 
 
FreeMemory frees a memory block. 
 
Returns the value of the 8087 code word. 
 
Returns the current directory. 
 
Returns the current status of the memory manager. 
 
Returns the last error reported by an operating system API call. 
 
GetMem allocates a memory block. 
 
GetMemory allocates a memory block. 
 
Returns the entry points of the currently installed memory manager. 
 
Returns the entry points of the currently installed memory manager. 
 
Fetches state information for the Memory Manager. 
 
Fetches the memory map. 
 
Gets the minimum memory block alignment. 
 
Returns the fully qualified name for a module, given its handle. 
 
Returns the entry points of the routines that define variant behavior. 
 
Halt 
Initiates abnormal termination of a program. 
 
Halt 
Initiates abnormal termination of a program. 
 
Hi 
Returns the high-order byte of X as an unsigned value. 
 
High 
Returns the highest value in the range of an argument. 
 
Inc 
Increments an ordinal value by one or N. 
 
Inc 
Increments an ordinal value by one or N. 
 
Adds an element to a Delphi set or adds an event handler in .NET applications. 
 
Initializes a dynamically allocated variable. 
 
Initializes a dynamically allocated variable. 
 
Inserts a substring into a string beginning at a specified point. 
 
Int 
Returns the integer part of a real number. 
 
Returns the status of the last I/O operation performed. 
 
Indicates whether the memory manager has been overridden using the SetMemoryManager procedure. 
 
Indicates whether variant support is implemented in an application. 
 
Returns the number of characters in a string or elements in an array. 
 
Ln 
Returns the natural log of a real expression. 
 
Lo 
Returns the low order Byte of argument X. 
 
This is function System.LoadResourceModule. 
 
This is function System::LoadResourceString. 
 
This is function System.LoadResString. 
 
Low 
Returns the lowest value in a range. 
 
Mark 
This is function System.Mark. 
 
This is function System.MemoryBarrier. 
 
Creates a new subdirectory. 
 
Creates a new subdirectory. 
 
Prohibits the access of all other threads but the calling one to the specified object. 
 
Releases a lock of the calling thread on the specified object. 
 
Notifies the next thread in the waiting queue that it will be able to lock the specified object as soon as the calling thread releases it. 
 
Signals all threads in the waiting queue that either one of them will be able to lock the specified object as soon as the calling thread releases it. 
 
Attempts to lock the specified object, so that only the calling thread is able to access it. 
 
Drops the lock on the specified object and puts the calling thread in the waiting queue for a specified amount of time. 
 
Move 
Copies bytes from a source to a destination. 
 
Copies bytes from a source to a destination. 
 
New 
Creates a new dynamic variable and sets P to point to it. 
 
Odd 
Returns true if argument is an odd number. 
 
Copies data received from a COM interface to a string. 
 
Copies a string from its COM representation to an existing Delphi string.  
 
Copies a string from its COM representation to an existing Delphi string.  
 
Ord 
Returns the ordinal value of an ordinal-type expression. 
 
Returns the number of parameters passed on the command line. 
 
Returns a specified parameter from the command-line. 
 
Pi 
Returns 3.1415926535897932385. 
 
Pos 
Returns the index value of the first character in a specified substring that occurs in a given string. 
 
Pos 
Returns the index value of the first character in a specified substring that occurs in a given string. 
 
Pos 
Returns the index value of the first character in a specified substring that occurs in a given string. 
 
Pred 
Returns the predecessor of the argument. 
 
Ptr 
Converts a specified address to a pointer. 
 
Converts a UCS4 string to a null-terminated array of UCS4 characters. 
 
This is function System.RaiseList. 
 
Generates random numbers within a specified range. 
 
Generates random numbers within a specified range. 
 
Initializes the random number generator with a random value. 
 
Read 
Read reads data from a file. 
 
Read 
Read reads data from a file. 
 
Read 
Read reads data from a file. 
 
Read 
Read reads data from a file. 
 
Reads a line of text from a file. 
 
Reads a line of text from a file. 
 
Reads a line of text from a file. 
 
Reads a line of text from a file. 
 
ReallocMem reallocates a memory block. 
 
ReallocMemory resizes a memory block. 
 
Registers an expected memory leak. 
 
Registers the specified module. 
 
This is function System.Release. 
 
Releases exception object acquired by AcquireExceptionObject
 
RemoveModuleUnloadProc removes a call to your defined routine when a package is unloaded. 
 
RemoveModuleUnloadProc removes a call to your defined routine when a package is unloaded. 
 
Changes the name of an external file. 
 
Changes the name of an external file. 
 
Opens an existing file. 
 
Opens an existing file. 
 
Opens an existing file. 
 
Opens an existing file. 
 
Creates a new file and opens it. 
 
Creates a new file and opens it. 
 
Deletes an empty subdirectory. 
 
Deletes an empty subdirectory. 
 
Returns the value of X rounded to the nearest whole number. 
 
Stops execution and generates a runtime error. 
 
Stops execution and generates a runtime error. 
 
Seek 
Moves the current position of a file to a specified component. 
 
Returns the end-of-file status of a file, ignoring whitespace. 
 
Returns the end-of-file status of a file, ignoring whitespace. 
 
Returns the end-of-line status of a file, ignoring whitespace. 
 
Returns the end-of-line status of a file, ignoring whitespace. 
 
Sets both the control word in the floating point unit and the variable NoErrMsg declared in the system unit. 
 
This is function System.SetCodePage. 
 
This is function System.SetInOutRes. 
 
SetLastError sets the last API error code. 
 
Sets the length of a string or dynamic-array variable. 
 
Determines the end-of-line and end-of-file conventions for text file I/O. 
 
Sets entry points of the memory manager. 
 
Sets entry points of the memory manager. 
 
Sets the minimum memory block alignment. 
 
Sets the code page used internally whenever multibyte characters are converted to/from WideChar. 
 
This is function System.SetRaiseList. 
 
Sets the contents and length of the given string. 
 
Assigns an I/O buffer to a text file. 
 
Assigns an I/O buffer to a text file. 
 
Sets the entry points of routines that define variant behavior. 
 
Shares the module's memory manager. 
 
Sin 
Returns the sine of the angle in radians. 
 
Returns the number of bytes occupied by a variable or type. 
 
Returns a sub-section of an array. 
 
Sqr 
Returns the square of a number. 
 
Sqr 
Returns the square of a number. 
 
Sqrt 
Returns the square root of X. 
 
Str 
Formats a string and returns it to a variable. 
 
Str 
Formats a string and returns it to a variable. 
 
Returns the code page associated with the string. 
 
Returns the code page associated with the string. 
 
Returns the number of bytes that represent a character in the string. 
 
Returns the number of bytes that represent a character in the string. 
 
Returns a string with a specified number of repeating characters. 
 
Returns a string with a specified number of repeating characters. 
 
Returns the reference count of a string. 
 
Returns the reference count of a string. 
 
Allocates memory and copies an AnsiStringa string to the OLE format. 
 
Allocates memory and copies an AnsiStringa string to the OLE format. 
 
Returns a UNICODE string from an AnsiString. 
 
Succ 
Returns the successor of an argument. 
 
Swap 
Exchanges high order byte with the low order byte of an integer or word. 
 
This is function System.SysAllocMem. 
 
Frees the memory pointed to by a specified pointer. 
 
Allocates a specified number of bytes and returns a pointer to them. 
 
Returns a pointer to a specified number of bytes, preserving the values pointed to by the Pointer parameter. 
 
This is function System.SysRegisterExpectedMemoryLeak. 
 
This is function System.SysUnregisterExpectedMemoryLeak. 
 
This is function System.TextStart. 
 
Truncates a real number to an integer. 
 
Deletes all the records after the current file position. 
 
Converts an UCS-4 encoded string to an Unicode string. 
 
Converts a string of 4-byte Unicode characters into a WideString value. 
 
Converts an Unicode string to its UCS-4 encoded representation. 
 
Converts a string of Unicode characters into a UTF-8 string. 
 
Converts a string of Unicode characters into a UTF-8 string. 
 
Converts a string of Unicode characters into a UTF-8 string. 
 
Converts a string of Unicode characters into a UTF-8 string. 
 
Ensures that a given string has a reference count of one. 
 
Ensures that a given string has a reference count of one. 
 
Ensures that a given string has a reference count of one. 
 
Unregisters an expected memory leak. 
 
Unregisters the specified module. 
 
Converts a character to uppercase. 
 
Converts a character to uppercase. 
 
Converts a UTF8 string to a Unicode string (WideString). 
 
Converts a WideString value to a UTF8 string. 
 
Converts a WideString value to a UTF8 string. 
 
Converts a WideString value to a UTF8 string. 
 
Converts a string to its UTF-8 encoded representation. 
 
Converts a string to its UTF-8 encoded representation. 
 
Converts a string to its UTF-8 encoded representation. 
 
Converts a UTF8 string to a string of Ansi characters. 
 
Converts an UTF-8 encoded string to a string. 
 
Converts an UTF-8 encoded string to a string. 
 
Converts an UTF-8 encoded string to a string. 
 
Converts an UTF-8 encoded string to a string. 
 
Converts a string of UTF-8 characters to a Unicode string. 
 
Converts a string of UTF-8 characters to a Unicode string. 
 
Converts an UTF-8 encoded string to an Unicode string. 
 
Converts an UTF-8 encoded string to an Unicode string. 
 
Converts an UTF-8 encoded string to an Unicode string. 
 
Converts an UTF-8 encoded string to a WideString
 
Val 
Converts a string to a numeric representation. 
 
Resizes a Variant array. 
 
Empties a Variant, so that it is unassigned. 
 
Converts WideString characters to UnicodeString
 
WideCharLenToStrVar converts WideString characters to UnicodeString or AnsiString
 
WideCharLenToStrVar converts WideString characters to UnicodeString or AnsiString
 
Converts null-terminated WideString string to UnicodeString
 
Converts WideString string to UnicodeString
 
Converts a WideString value to a string of 4-byte Unicode characters. 
 
Writes to either a typed file or a text file 
 
Writes to either a typed file or a text file 
 
Writes to either a typed file or a text file 
 
Writes to either a typed file or a text file 
 
Writes to a text file and adds an end-of-line marker. 
 
Writes to a text file and adds an end-of-line marker. 
 
Writes to a text file and adds an end-of-line marker. 
 
Writes to a text file and adds an end-of-line marker. 
 
This is function System.YieldProcessor. 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!