set med = `parget median histat`
would redirect the output to shell variable med, and thus a reference to $med would substitute the median value obtained the last time application HISTAT was invoked. If the parameter comprises a vector of values these can be stored in a C-shell array. For instance,
set perval = `parget perval histat`
would assign elements of the shell array perval[1], perval[2], etc. to the last-computed percentile values of HISTAT. For other scripting languages such as Python, the alternative vector format produced by setting parameter VECTOR to TRUE may be more appropriate.
Single elements of an parameter array may also be accessed using the array index in parentheses.
KAPPA --- Kernel Application Package