1 12/01/86  exec_com, ec
 2 
 3 Syntax:  ec ec_path {ec_args}
 4 
 5 
 6 Syntax as an active request:  [ec ec_path {ec_args}]
 7 
 8 
 9 Function:  executes a program written in the exec_com language which is
10 used to pass request lines to LINUS and to pass input lines to requests
11 which read input.  As an active request, the exec_com program specifies
12 a return value of the exec_com request by use of the &return statement.
13 
14 
15 Arguments:
16 ec_paths
17    is the pathname of an exec_com program.  The suffix, "lec", is
18    assumed if not specified.
19 ec_args
20    are optional arguments to the exec_com program and are substituted
21    for parameter references in the program such as &1.
22 
23 
24 Notes:  For a description of the exec_com language (both version 1 and
25 version 2), type:
26    ..  help v1ec v2ec
27 
28 
29 When evaluating a LINUS exec_com program, subsystem active requests are
30 used rather than Multics active functions when evaluating the &[...]
31 construct and the active string in an &if statement.  The execute
32 active request may be used to evaluate Multics active strings within
33 the exec_com.