|
Navigation: Function Reference > General Utility Functions > low() low() |
Top Previous Next |
low( type or variable ) : Ordinal Type;
Returns the lowest allowed value of either a type or a variable of that type. It would typically be used in conjunction with arrays and, for arrays, it returns the lowest index value in that array.
Parameters
Type or Variable |
Ordinal Type |
type
TArray = array[0..10] of Integer;
low(TArray) would return 0 since 0 is the lowest allowable index in that array type.
Important!: It is critical that you do not confuse this Pascal low() utility function with the low price of a data series. When customizing a user script, always use Symbol.low() rather than just low(). Not paying attention to this can cause errors that are difficult to debug.
See Also: