Extracts the value of a subroutine argument into a variable.
Note The same number of arguments must be retrieved as were pushed before the CALL statement. The order in which arguments are retrieved is first-in/first-out, this opposite of normal stack operations (first-in/last-out.)
The ARG statement syntax has the following parts:
// Calling code
:mysub // Subroutine
ARG:arg1 // arg1 <- 10
ARG:arg2 // arg2 <- 20
ARG:arg3 // arg3 <- 30
arg1, arg2, arg3 are provided for use as local variables. There is no need for separate LOCAL declarations.