On Mar 23, 2007, at 4:05 PM, Ryan Dary wrote:

> [all kinds of nasty ickiness removed :)]

returning 1,d or a dictionary that has 1 item seems ... well ... silly
You can already tell how many items are IN the dictionary by IT's  
count so it would be unnecessary

> I mean, that is one of the reasons to return a class object,  
> because you
> can essentially return multiple values in a nice object.
>
> My vote is that this is basically unnecessary and would just be a new
> area for problems to arise.

Agreed
Make a class and return that

I don't beliebe this is a problem that needs a solution in the  
language as we can already make our own means to return multiple  
items in any one of several ways - just as in many other languages

Even a language like Applescript simple returns a single tuple and  
you still have to get at items with either a name (ie/ a class  
member) or an index (item 1 of ...)
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to