Re: Argument passing method for internal types?

jon klein <[email protected]>
Newsgroups gmane.comp.breve
Message-ID <[email protected]>
On Mar 4, 2004, at 12:11 PM, Eric DeWitt wrote:

> Are methods which take built in types (int, float, list, hash, ...) 
> passed by value or reference?

int, float, vector, matrix and string are passed by value.

list, hash, object, data and pointer are passed by reference.

- jon klein

_______________________________________________
breve mailing list
[email protected]
http://www.spiderland.org/mailman/listinfo/breve
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.