 |
string can be a string, a cluster of strings, an array of strings, or an array of clusters of strings.
If the data type of string is a number, the function interprets it as ASCII codes for characters.
|
 |
offset is the starting position and must be numeric.
The offset of the first character in the string is 0. If unwired or if less than 0, the default is 0.
|
 |
default is any object of numeric representation and specifies the numeric representation for number. The default is a 32-bit signed integer value of 0.
|
 |
offset past number is the index in string of the first character following the number.
offset past number reflects the value from the last string if you input an array of strings.
|
 |
number can be a number, a cluster, an array of numbers, or an array of clusters depending on the structure of string and offset.
If the input string represents a number outside the range of the representation of number, number is set to the maximum value for that data type. The following table shows how the values of string, offset, and default affect number.
string | offset | default | offset past number | number | Comments |
f3g | 0 | 0 | 2 | 243 | g is not a valid hex character, so conversion stops there. |
30 | 0 | 0 | 0 | 0 | Negative numbers are not permitted for hex. |
|