Home
|
Table of Contents
|
Overview Map
|
Icon Legend
DylanTalks
Peter Robisch
dylan-talks@fun-priniples.com
Home
>
2. program control
>
2.1 multi-value binds
>
2.1.3 How are multi-values return by a method?
Previous
Next
2.1.3
How are multi-values return by a method?
Peter Norvig
You can write functions of your own that return multiple values using the function val ues, which returns its arguments as multiple values:
fun-principal
type into the Dylan interactor:
(values 1 2 3)
=>$8 = 1
$9 = 2
$10 = 4
Top
Powered By MindManager X5
Last updated:
04.04.2005