Delphi Intrinsic Routines
Go Up to API Categories Index
This topic lists Delphi-only intrinsic routines exposed by the System unit. These intrinsic routines are actually handled by the compiler rather than the run-time library. The table also specifies which compiler support each function
| Routine | Description | DCC32 | DCC64 | DCCOSX64 | DCCAARM | DCCIOSARM64 | DCCLINUX64 | DCCAARM64 | DCCOSXARM64 | DCCIOSSIMARM64 |
|---|---|---|---|---|---|---|---|---|---|---|
|
Returns an absolute value. |
||||||||||
|
Returns a pointer to a specified object. |
||||||||||
|
Prepares an existing file for adding text to the end. |
||||||||||
|
Tests whether a Boolean expression is true. |
||||||||||
|
Associates the name of an external file with a file variable. |
||||||||||
|
Tests for a nil (unassigned) pointer or procedural variable. |
||||||||||
|
Associates the name of an external file with a file variable. |
||||||||||
|
AtomicCmpExchange is used for comparing and exchanging memory values. |
||||||||||
|
AtomicDecrement is used for decrementing memory values. |
||||||||||
|
AtomicExchange is used for exchanging memory values. |
||||||||||
|
AtomicIncrement is used for incrementing memory values. |
||||||||||
|
Reads one or more records from an open file into a variable. |
||||||||||
|
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. |
||||||||||
|
Calculates the arctangent of a given number. |
||||||||||
|
Calculates the arctangent angle and quadrant of a given number. |
||||||||||
|
Calculates the cosine of an angle. |
||||||||||
|
Calculates the natural logarithm of a real expression. |
||||||||||
|
Calculates the natural logarithm of (X+1). |
||||||||||
|
Calculates log base 10. |
||||||||||
|
Calculates log base 2. |
||||||||||
|
Calculates the sine of the angle. |
||||||||||
|
Calculates the square root of X. |
||||||||||
|
Calculates the tangent of X. |
||||||||||
|
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. |
||||||||||
|
Concatenates two or more strings into one. |
||||||||||
|
Allows the flow of control to proceed to the next iteration of for, while, or repeat statements. |
||||||||||
|
Returns a substring of a string or a segment of a dynamic array. |
||||||||||
|
Decrements a variable by 1 or N. |
||||||||||
|
Returns the zero representation of type identifier |
||||||||||
|
Removes a substring from a string. |
||||||||||
|
Releases memory allocated for a dynamic variable. |
||||||||||
|
Tests whether the file position is at the end of a file. |
||||||||||
|
Tests whether the file pointer is at the end of a line. |
||||||||||
|
Deletes an external file. |
||||||||||
|
Removes an element from a Delphi set. |
||||||||||
|
Exits from the current procedure. |
||||||||||
|
Cancels the construction of an object (Turbo Pascal object model). |
||||||||||
|
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. |
||||||||||
|
Empties the buffer of a text file opened for output. |
||||||||||
|
FreeMem frees a memory block. |
||||||||||
|
Returns the current directory. |
||||||||||
|
GetMem allocates a memory block. |
||||||||||
|
Returns the RTTI information for a given type. |
||||||||||
|
Initiates abnormal termination of a program. |
||||||||||
|
Returns True when the type T is WEAKREF type. |
||||||||||
|
Returns the high-order byte of X as an unsigned value. |
||||||||||
|
Returns the highest value in the range of an argument. |
||||||||||
|
Increments an ordinal value by one or N. |
||||||||||
|
Adds an element to a Delphi set. |
||||||||||
|
Initializes a dynamically allocated variable. |
||||||||||
|
Inserts a substring into a string beginning at a specified point. |
||||||||||
|
Returns the boolean data type of a |
||||||||||
|
Returns true if |
||||||||||
|
Returns the number of characters in a string or elements in an array. |
||||||||||
|
Returns the low order Byte of argument X. |
||||||||||
|
Returns the lowest value in a range. |
||||||||||
|
Enforces an ordering constraint on memory operations. |
||||||||||
|
Returns the value of this expression: |
||||||||||
|
Creates a new dynamic variable and sets P to point to it. |
||||||||||
|
Returns true if argument is an odd number. |
||||||||||
|
Returns the ordinal value of an ordinal-type expression. |
||||||||||
|
Returns 3.1415926535897932385. |
||||||||||
|
Returns the predecessor of the argument. |
||||||||||
|
Converts a specified address to a pointer. |
||||||||||
|
Read reads data from a file. |
||||||||||
|
Reads a line of text from a file. |
||||||||||
|
ReallocMem reallocates a memory block. |
||||||||||
|
Changes the name of an external file. |
||||||||||
|
Opens an existing file. |
||||||||||
|
Returns the return address of the current function execution. |
||||||||||
|
Creates a new file and opens it. |
||||||||||
|
Returns the value of X rounded to the nearest whole number. |
||||||||||
|
Stops execution and generates a runtime error. |
||||||||||
|
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-line status of a file, ignoring whitespace. |
||||||||||
|
Sets the length of a string or dynamic-array variable. |
||||||||||
|
Sets the contents and length of the given string. |
||||||||||
|
Assigns an I/O buffer to a text file. |
||||||||||
|
Returns the number of bytes occupied by a variable or type. |
||||||||||
|
Returns a sub-section of an array. |
||||||||||
|
Returns the square of a number. |
||||||||||
|
Formats a string and returns it to a variable. |
||||||||||
|
Returns the successor of an argument. |
||||||||||
|
Exchanges high order byte with the low order byte of an integer or word. |
||||||||||
|
Truncates a real number to an integer. |
||||||||||
|
Deletes all the records after the current file position. |
||||||||||
|
Returns the RTTI information for a given type. |
||||||||||
|
Returns the RTTI information for a given type. |
||||||||||
|
Deprecated routine. |
||||||||||
|
Converts a string to a numeric representation. |
||||||||||
|
Resizes a Variant array. |
||||||||||
|
Converts a variant to specified type. |
||||||||||
|
Empties a Variant so that it is unassigned. |
||||||||||
|
Copies a Variant to another Variant. |
||||||||||
|
Writes to either a typed file or a text file. |
||||||||||
|
Writes to a text file and adds an end-of-line marker. |