reverse <ident> { ,<ident> ... }
Reverse the element order of one or more array identifiers.
<ident>
Existing identifier array(s).
None
Some system identifiers are read-only and as such cannot be reversed.
If an array specification is appended to <ident>, then only the indicated array elements will be reversed.
Reverse all elements of an identifier. xar values become 40,30,20,10.
numeric xar[] = <10,20,30,40> reverse xar
Reverse an array range. ss values become 'A','D','C','B','E'.
string ss[] = <'A','B','C','D','E'> reverse ss[2:4]
Commands: |