Basics
 Home  |  Numbers and sets : Calculations
 Type Name Summary Function Abs Gives the absolute value of a number (-ve sign is removed) Function Addr Gives the address of a variable, function or procedure Keyword And Boolean and or bitwise and of two arguments Function CompareValue Compare numeric values with a tolerance Function Copy Create a copy of part of a string or an array Function DaysBetween Gives the whole number of days between 2 dates Function DaySpan Gives the fractional number of days between 2 dates Procedure Dec Decrement an ordinal variable Keyword Div Performs integer division, discarding the remainder Procedure Exclude Exclude a value in a set variable Function Exp Gives the exponent of a number Procedure FillChar Fills out a section of storage with a fill character or byte value Function Frac The fractional part of a floating point number Function Hi Returns the hi-order byte of a (2 byte) Integer Function High Returns the highest value of a type or variable Keyword In Used to test if a value is a member of a set Procedure Inc Increment an ordinal variable Procedure Include Include a value in a set variable Function Int The integer part of a floating point number as a float Function IsInfinite Checks whether a floating point number is infinite Function IsNaN Checks to see if a floating point number holds a real number Function Length Return the number of elements in an array or string Function Lo Returns the low-order byte of a (2 byte) Integer Function Low Returns the lowest value of a type or variable Function Max Gives the maximum of two integer values Function Mean Gives the average for a set of numbers Function Min Gives the minimum of two integer values Keyword Mod Performs integer division, returning the remainder Procedure Move Copy bytes of data from a source to a destination Function Odd Tests whether an integer has an odd value Keyword Or Boolean or or bitwise or of two arguments Function Ord Provides the Ordinal value of an integer, character or enum Function PointsEqual Compares two TPoint values for equality Function Pred Decrement an ordinal variable Function PtInRect Tests to see if a point lies within a rectangle Function Random Generate a random floating point or integer number Procedure Randomize Reposition the Random number generator next value Function RandomRange Generate a random integer number within a supplied range Variable RandSeed Reposition the Random number generator next value Function Rect Create a TRect value from 2 points or 4 coordinates Function Round Rounds a floating point number to an integer Procedure SetLength Changes the size of a string, or the size(s) of an array Keyword Shl Shift an integer value left by a number of bits Keyword Shr Shift an integer value right by a number of bits Function SizeOf Gives the storage byte size of a type or variable Function Slice Creates a slice of an array as an Open Array parameter Function Sqr Gives the square of a number Function Sqrt Gives the square root of a number Function Succ Increment an ordinal variable Function Sum Return the sum of an array of floating point values Function Trunc The integer part of a floating point number Keyword Xor Boolean Xor or bitwise Xor of two arguments

Run Time Library Reference
By first letter
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z \$
By Functionality
By Unit
By Category
 Compiler directives   Directives   Keywords Types   Variables   Constants Functions   Procedures