You are on page 1of 2

Delphi Basics : System unit

Function System Abs Gives the absolute value of a number (-ve sign is removed)
Variable System AbstractErrorProc Defines a proc called when an abstract method is called
Function System Addr Gives the address of a variable, function or procedure
Type System AnsiChar A character type guaranteed to be 8 bits in size
Type System AnsiString A data type that holds a string of AnsiChars
Procedure System Append Open a text file to allow appending of text to the end
Function System ArcTan The Arc Tangent of a number, returned in radians
Procedure System Assign Assigns a file handle to a binary or text file
Function System Assigned Returns true if a reference is not nil
Procedure System AssignFile Assigns a file handle to a binary or text file
Function System BeginThread Begins a separate thread of code execution
Procedure System BlockRead Reads a block of data records from an untyped binary file
Procedure System BlockWrite Writes a block of data records to an untyped binary file
Type System Boolean Allows just True and False values
Procedure System Break Forces a jump out of a single loop
Type System Byte An integer type supporting values 0 to 255
Type System Cardinal The basic unsigned integer type
Type System Char Variable type holding a single character
Procedure System ChDir Change the working drive plus path for a specified drive
Function System Chr Convert an integer into a character
Procedure System Close Closes an open file
Procedure System CloseFile Closes an open file
Variable System CmdLine Holds the execution text used to start the current program
Type System Comp A 64 bit signed integer
Function System Concat Concatenates one or more strings into one string
Procedure System Continue Forces a jump to the next iteration of a loop
Function System Copy Create a copy of part of a string or an array
Function System Cos The Cosine of a number
Type System Currency A floating point type with 4 decimals used for financial values
Procedure System Dec Decrement an ordinal variable
Procedure System Delete Delete a section of characters from a string
Procedure System Dispose Dispose of storage used by a pointer type variable
Type System Double A floating point type supporting about 15 digits of precision
Procedure System EndThread Terminates a thread with an exit code
Function System Eof Returns true if a file opened with Reset is at the end
Function System Eoln Returns true if the current text file is pointing at a line end
Procedure System Erase Erase a file
Variable System ErrorAddr Sets the error address when an application terminates
Procedure System Exclude Exclude a value in a set variable
Procedure System Exit Exit abruptly from a function or procedure
Variable System ExitCode Sets the return code when an application terminates
Function System Exp Gives the exponent of a number
Directive System Export Makes a function or procedure in a DLL externally available
Type System Extended The floating point type with the highest capacity and precision
Variable System FileMode Defines how Reset opens a binary file
Function System FilePos Gives the file position in a binary or text file
Function System FileSize Gives the size in records of an open file
Procedure System FillChar Fills out a section of storage with a fill character or byte value
Procedure System Flush Flushes buffered text file data to the file
Function System Frac The fractional part of a floating point number
Procedure System FreeMem Free memory storage used by a variable
Keyword System Function Defines a subroutine that returns a value
Procedure System GetDir Get the default directory (drive plus path) for a specified drive
Function System GetLastError Gives the error code of the last failing Windows API call
Function System GetMem Get a specified number of storage bytes
Procedure System Halt Terminates the program with an optional dialog
Function System Hi Returns the hi-order byte of a (2 byte) Integer
Function System High Returns the highest value of a type or variable
Procedure System Inc Increment an ordinal variable
Procedure System Include Include a value in a set variable
Variable System Input Defines the standard input text file
Procedure System Insert Insert a string into another string
Function System Int The integer part of a floating point number as a float
Type System Int64 A 64 bit sized integer - the largest in Delphi
Type System Integer The basic Integer type
Keyword System Interface Used for Unit external definitions, and as a Class skeleton
Function System IOResult Holds the return code of the last I/O operation
Function System IsMultiThread Returns true if the code is running multiple threads
Function System Length Return the number of elements in an array or string
Function System Ln Gives the natural logarithm of a number
Function System Lo Returns the low-order byte of a (2 byte) Integer
Type System LongInt An Integer whose size is guaranteed to be 32 bits
Type System LongWord A 32 bit unsigned integer
Function System Low Returns the lowest value of a type or variable
Constant System MaxInt The maximum value an Integer can have
Constant System MaxLongInt The maximum value an LongInt can have
Procedure System MkDir Make a directory
Procedure System Move Copy bytes of data from a source to a destination
Procedure System New Create a new pointer type variable
Constant System Nil A pointer value that is defined as undetermined
Keyword System Object Allows a subroutine data type to refer to an object method
Function System Odd Tests whether an integer has an odd value
Function System Ord Provides the Ordinal value of an integer, character or enum
Variable System Output Defines the standard output text file
Type System PAnsiChar A pointer to an AnsiChar value
Type System PAnsiString Pointer to an AnsiString value
Function System ParamCount Gives the number of parameters passed to the current program
Function System ParamStr Returns one of the parameters used to run the current program
Type System PChar A pointer to an Char value
Type System PCurrency Pointer to a Currency value
Type System PDateTime Pointer to a TDateTime value
Type System PExtended Pointer to a Extended floating point value
Function System Pi The mathematical constant
Type System PInt64 Pointer to an Int64 value
Type System Pointer Defines a general use Pointer to any memory based data
Function System Pos Find the position of one string in another
Function System Pred Decrement an ordinal variable
Keyword System Procedure Defines a subroutine that does not return a value
Keyword System Program Defines the start of an application
Keyword System Property Defines controlled access to class fields
Type System PShortString A pointer to an ShortString value
Type System PString Pointer to a String value
Type System PVariant Pointer to a Variant value
Type System PWideChar Pointer to a WideChar
Type System PWideString Pointer to a WideString value
Function System Random Generate a random floating point or integer number
Procedure System Randomize Reposition the Random number generator next value
Variable System RandSeed Reposition the Random number generator next value
Procedure System Read Read data from a binary or text file
Procedure System ReadLn Read a complete line of data from a text file
Type System Real A floating point type supporting about 15 digits of precision
Type System Real48 The floating point type with the highest capacity and precision
Procedure System ReallocMem Reallocate an existing block of storage
Procedure System Rename Rename a file
Procedure System Reset Open a text file for reading, or binary file for read/write
Variable System Result A variable used to hold the return value from a function
Procedure System ReWrite Open a text or binary file for write access
Procedure System RmDir Remove a directory
Function System Round Rounds a floating point number to an integer
Procedure System RunError Terminates the program with an error dialog
Procedure System Seek Move the pointer in a binary file to a new record position
Function System SeekEof Skip to the end of the current line or file
Function System SeekEoln Skip to the end of the current line or file
Variable System Self Hidden parameter to a method - refers to the containing object
Procedure System SetLength Changes the size of a string, or the size(s) of an array
Procedure System SetString Copies characters from a buffer into a string
Type System ShortInt An integer type supporting values -128 to 127
Type System ShortString Defines a string of up to 255 characters
Function System Sin The Sine of a number
Type System Single The smallest capacity and precision floating point type
Function System SizeOf Gives the storage byte size of a type or variable
Function System Slice Creates a slice of an array as an Open Array parameter
Type System SmallInt An Integer type supporting values from -32768 to 32767
Function System Sqr Gives the square of a number
Function System Sqrt Gives the square root of a number
Procedure System Str Converts an integer or floating point number to a string
Type System String A data type that holds a string of characters
Function System StringOfChar Creates a string with one character repeated many times
Function System StringToWideChar Converts a normal string into a WideChar 0 terminated buffer
Function System Succ Increment an ordinal variable
Type System TDateTime Data type holding a date and time value
Type System Text Defines a file as a text file
Type System TextFile Declares a file type for storing lines of text
Type System TObject The base class type that is ancestor to all other classes
Function System Trunc The integer part of a floating point number
Procedure System Truncate Truncates a file size - removes all data after the current position
Type System TThreadFunc Defines the function to be called by BeginThread
Function System UpCase Convert a Char value to upper case
Procedure System Val Converts number strings to integer and floating point values
Type System Variant A variable type that can hold changing data types
Type System WideChar Variable type holding a single International character
Function System WideCharToString Copies a null terminated WideChar string to a normal string
Type System WideString A data type that holds a string of WideChars
Type System Word An integer type supporting values 0 to 65535
Procedure System Write Write data to a binary or text file
Procedure System WriteLn Write a complete line of data to a text file

(c) Copyright Neil Moffatt 2002 - 2005. All rights reserved.

You might also like