[Q] Newbie - Multiple Return Values

Donald Major Donald.Major at sas.com
Thu May 1 14:23:24 UTC 2003


The easiest solution is to just return an Array or some other 
collection, made up on the fly, containing your two (or more) return 
values. Works great. :-)

Ingo Hohmann wrote:

> Hmmm, well, if I look into the browser, it looks rather crowded.
> Of course, I'm not used to OO programming ...
>
> Delbert Murphy wrote:
>
>> Just my 2 cents...
>>
>> It's rarely overkill to create new class, like NetworkRequestResult.
>>
>> It could contain a status and any accompanying messages. As far as I 
>> can tell, the only real overhead in creating another class, is the 
>> metal energy to keep track of it...
>>
>> Delbert
>
>
>
>

-- 
 ..	Donald Major		"Tech Support..your Windows machine doesn't
dtm	SAS Institute Inc.	 work?  Have you tried installing a Macintosh?"
	Cary, NC 27513			- me          SAS - "The Power to Know"
	AKA "Ol' Baby Lee"




More information about the Squeak-dev mailing list