swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: yet another Map question


From: Marcus G. Daniels
Subject: Re: yet another Map question
Date: 22 Oct 2000 08:21:31 -0700
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "KG" == Ken Gosier <address@hidden> writes:

KG> So, would the proper way to iterate over a Map be:
[..]
     val=[mapIndex next: key])

You'd say "&key", which passes the memory location of the key so that
next: can change the contents of that to that memory location.  In other
cases, arguments are only of interest for their values, i.e. you're informing
the method of some values, but not allowing the method to change those values
outside of their definition.


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]