Re: Passing by reference

From: George Greer (
Date: 03/13/01

On Tue, 13 Mar 2001, Patrick Dughi wrote:

>        Uhm.. Passing by reference is a feature of the language you use to
>write code.  Circle is written in C, which does support that.

"does not", I believe you meant. Anyway, passing by reference can be quite

>        If you're going to increment a 'memory location' for each call to
>some function, somewhere, you can probably find an easier way to do it.
>Why don't you just use a static variable inside the function?

I like using the return code for it, but it depends on what you're doing.

George Greer            | If it's about the CircleMUD mailing list,   | mail instead.

   | FAQ: |
   | Archives: |

This archive was generated by hypermail 2b30 : 12/04/01 PST