Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

lisp

Name: Anonymous 2007-11-27 20:52

How would I do this in lisp?


sub test { return (1, 2, 3) }

my ($a, $b, $c) = test();

Name: Anonymous 2007-11-27 22:29

>>1
(defun test () (values 1 2 3))
(with vars (a b c) = test do ....)
>>2
better
>>3
this was on a previous thread.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List