![]() ![]() |
|
EXTRACThe EXTRACT function is an alternative method of accessing values in a dynamic array other than using the <n,n,n> syntax described earlier.
COMMAND SYNTAXEXTRACT(expression1, expression2 {, expression3 {, expression4}})
SYNTAX ELEMENTSexpression1 specifies the dynamic array to work with and will normally be a previously assigned variable. The expressions 2 through 4 should all return a numeric value or a runtime error will occur and the program will enter the debugger. expression2 specifies the field to extract, expression3 the value to extract and expression4 the sub-value to extract.
EXAMPLESA = "0"; A<2> = "1"; A<3> = "2" |