Following approaches come to my mind for returning multiple results
from a function:
  1. (results 'R1 'R2 'R3 ~args)  # Pass `var's in which to store
results.  Like in C.

  2. (mapc 'set '(R1 R2 R3) (results ~args))  # Pack results in a
Product Type, `list' in this example, and return it.  Exactly the same
approach used for Argument_s_.

  3. (results 'continuation ~args)  # Pass results to `continuation'.
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to