MIAMEX 78: Get global DO params

xcall MIAMEX, MX_GETGDO, status, g0 {,g1, g2, ... , g9}

MX_GETGDO retrieves the currently set global DO parameters. These are parameters that may be set within a program and then retrieved later and used as arguments in a DO file command line.

status (Signed Num) returns 0 for success or –1 to indicate failure.

g0 through g9 (String) will receive the current values of the up to 10 global DO file parameters.

For more information on this topic, see Global DO File Parameters.

History

2009 September, A-Shell 5.1.1159:  Routine modified to support returning data into dynamic variables, such that they expand as needed. Previously, the output data was being truncated to the current size of the variable, or 0 for uninitialized.