FR L - Read (sets) a local string (symbolic) variable
(10/11/07)
PURPOSE
Associates a file name template or any other
string with a string (symbolic) variable.
Reads input from current procedure or terminal.
'FR L' differs from 'FR' which
receives input from the calling procedure or input stream.
The string variable is available only inside the
current SPIDER procedure.
.VARIABLE NAME & ASSOCIATED VALUE: [label]value
[Enter string variable name (surrounded by []'s) and
the associated alphanumeric string.]
NOTES
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.
Example.
FR L
[raw_file]nerve{***[iter]}
DO [iter]=4,6
FS
[raw_file]
ENDDO
[iter]=16
CP
[raw_file]
[raw_file]_jnk
EN
When procedure executes, operation sequence is :
FS
nerve004
FS
nerve005
FS
nerve006
CP
nerve016
nerve016_jnk