Variables

Handles the a arguments of command files.
Format:
var$*$iables sym1 [sym2 [...]]

Description:
This verb is used as the first command in .GRA files. Sym1 is set to the first argument, sym2 to the second, etc.

SPECTRA tests whether the user supplied enough arguments. Oherwise it prompts for input.

If the input is not supplied, variables returns an error, which can be testet by gra_status().

e.g.:
  var file_name nloop

  if !gra_status()
    say " ERROR: Supply filename and nloop "
    wait
    end
  endif

  ...
See also the descriptions of arg() and n_arg() in section 14.5.1.