LISTARGP INDEX

LISTARGP _ _ _ _ _ _ _ _ _ _ _ _ declaration

syntax:

listargp<operator>{,<operator>}*

If an operator other than those specifically defined for lists is given a single argument that is a list, then the result of this operation will be a list in which that operator is applied to each element of the list. This process can be inhibited for a specific operator, or list of operators, by using the declaration listargp.

examples:


log {a,b,c}; 

  LOG(A),LOG(B),LOG(C) 


listargp log; 

log {a,b,c}; 

  LOG(A,B,C)

It is possible to inhibit such distribution globally by turning on the switch listargs. In addition, if an operator has more than on e argument, no such distribution occurs, so listargp has no effect.