IndexToOffset Function
- Aktualisiert2025-07-21
- 1 Minute(n) Lesezeit
IndexToOffset Function
Syntax
Number IndexToOffset(Array array, String index)
Return Value
Returns the Number offset.
Purpose
This function returns the numeric offset that is equivalent to the specified array index string. Note: to convert from an offset to an index, use the OffsetToIndex function.
Parameters
array as Array
An array.
index as String
The string index for which the respective offset needs to be found. The index has the syntax "[i][j][k]", with an integer value in square brackets for each dimension of the source array.