1 03/31/83  select
 2 
 3 Syntax:  select test_string {args}
 4 
 5 
 6 Syntax as active function:  [select test_string {args}]
 7 
 8 
 9 Function:  tests a set of arguments and returns those arguments that
10 pass the test.  The test is given as the first argument and is used to
11 select the second-through-last arguments.  A string consisting of the
12 concatenation of all the arguments that pass the test, separated by
13 spaces, is returned.  Each argument is requoted.
14 
15 
16 Arguments:
17 test_string
18    is the test to apply to each argument.  See "Notes" below.
19 args
20    are the arguments to be tested.  Any number of arguments, including
21    zero, can be supplied.
22 
23 
24 Notes:  Each argument is requoted, and the following active string is
25 constructed:
26 
27      [test_string argi]
28 
29 The active string is evaluated.  The result must be either "true" or
30 "false."  If the result is "true," argi is selected and the requoted
31 argument appears in the result string.  If the result is "false," the
32 argument is not selected.