HOME GUIDE OPERATIONS DOCS FAQ TECHNIQUES FORMATS INSTALL NEW TIPS WEB LINKS WADSWORTH

FR L - Read (sets) a local symbolic parameter (string variable)

(10/11/07)

PURPOSE

Associates a file name template or any other string with a string variable (symbolic parameter). Reads input from current procedure or input stream. 'FR L' differs from 'FR' which receives input from the calling procedure or input stream.

SEE ALSO

FR [Read (sets) a local symbolic parameter (string variable)]
FR F [Read (sets) global symbolic parameter (string variable) from a file]
RR [Read Register variables]

USAGE

.OPERATION: FR L

.PARAMETER LABEL & ASSOCIATED VALUE: [label]value
[Enter string's name (surrounded by []'s) and associated alphanumeric string.]

1. Example.

FR L
[raw_file]nerve{***[num]}

DO [num]=4,6 FS [raw_file] ENDDO

[num]=4 CP [raw_file] [raw_file]_jnk

When procedure executes, operation sequence is :

FS nerve004 FS nerve005 FS nerve006

CP nerve004 nerve004_jnk

NOTES

  1. This operation is useful when writing long procedures as a string variable can be initialized to contain a certain value at the top of the procedure then the variable e.g. [raw_file] can be used throughout the procedure. If the string's value later changes then it only has to be altered at one location in the procedure.

SUBROUTINES

DRIV1, RDPRMC, RDPR, SYMPAR, SETSYMPAR, SUBSYMPAR, PARSESYMPAR

CALLER

DRIV1

© Copyright Notice /       Enquiries: spider@wadsworth.org

BACK TO SPIDER BACK TO WADSWORTH