Legacy functions for returning command-line arguments.
val = f_arg(arg_index)
val = i_arg(arg_index)
val = s_arg(arg_index)
val = n_arg()
These functions allow command-line arguments to the CMIX command to be entered into the RTcmix scorefile environment. For example, the command:
contains 5 ingeter command-line arguments. The command:
contains 2 floating-point arguments and 1 string argument.
f_arg(n) returns the nth argument as a floating-point value.
i_arg(n) returns the nth argument as an integer value.
s_arg(n) returns the nth argument as a string value.
n_arg() returns the number of arguments in the CMIX command.
floatval = f_arg(3)
stringval = s_arg(1)
nargs = n_arg()
Note: These functions have been replaced in Minc by the much-more-flexible command-line named arguments described here.
print, printf, rtsetparams, set_option, stringify, type, Minc