Numbers
Even(N:number):boolean; |
Function EVEN function returns TRUE if number N is not odd. See also ODD function, below. |
Odd(N:number):boolean; |
Function ODD function returns TRUE if number N is odd. See also EVEN function, above. |
Inc(var X [ ; N: number] ); |
Procedure X is a number-type variable. If N is specified then X increments by N; that is, INC(X, N) corresponds to the statement X := X + N. See also DEC procedure, below. |
Dec(var X[ ; N: number] ); |
Procedure X is a number-type variable. If N is specified then X decrements by N; that is, DEC(X, N) corresponds to the statement X := X - N. See also INC procedure, above. |
Min(A,B: number): number; |
Function MIN returns the lower of the two values A and B; negative values are smaller than zero. Thus:
See also MAX function, below. |
Max(A,B: number): number; |
Function MAX returns the higher of the two values A and B; negative values are smaller than zero. Thus:
See also Min function, above. |
Random [Range: number]:number; |
Function RANDOM function returns a random number within the range: |
IntToStr(N:number):string; |
Function INTTOSTRING converts number N to string representation. Rotate example, Column example See also STRINGTOINTDEF and STRTOFLOATDEF functions. |