| First of all, I seriously doubt whether any of the .F... directives are
going to directly affect your situation. Since you are already in a DO script,
the .FUNCTION is irrelevant (and superfluous), and since you're not concerned
about the DO or SCRIPT stacks, the .FZ and .FX aren't necessary.
It sounds more probable that the form you are calling is an entry form,
and you are somehow getting confused with the (unusual) pre-processing of an
entry form. Can you simplify the situation? Can you call a simple argument
form with a simple /PRE (such as creating a symbol)? From where are you
calling the Gold F6?
In answer to your more general question, the three .F... directives you
name have been discussed before, and are documented in the Application
Programming Reference, Vol. 1. In summary,
.FUNCTION - causes the Script Processor to invoke the Command Dispatcher,
passing it the remainder of the line as an ALL-IN-1 command line. Using
.FUNCTION from the Command Dispatcher (i.e., from Named Data, or from a DO
script) is general redundant, although there is one good case for it, which is
too complex to go into. Suffice it to say, it provides a mechanism for "nesting"
complete command lines within other ALL-IN-1 functions, and creating a "stacking"
effect, which can often allow more complex lines to be simplified, or certain
command lines to be executed where they normally would generate syntax errors
(such as from within THEN or ELSE clauses of an .IF function).
.FX - begins a new SCRIPT script stack. Any open SCRIPT mode script(s)
is temporarily "set aside", and further requests for input are directed to the
user's keyboard. Normally used when you want to insure that an application --
even if it's being run from a CBI or UDP, for example -- is getting its input
from the keyboard. Since it also performs all of the functions of the .FUNCTION
directive, it is often (unnecessarily) used in cases where .FUNCTION would
suffice.
.FZ - begins a new DO script stack. Less obvious in its uses, but does
the same for the DO stack as .FX does for the SCRIPT stack. Also does all of
what .FUNCTION does.
F
|