Re: MV Keys
From: Mikito Harakiri <mikharakiri_nospaum_at_yahoo.com>
Date: 8 Mar 2006 11:58:33 -0800
Message-ID: <1141847912.949354.241050_at_p10g2000cwp.googlegroups.com>
Date: 8 Mar 2006 11:58:33 -0800
Message-ID: <1141847912.949354.241050_at_p10g2000cwp.googlegroups.com>
Marshall Spight wrote:
> Yes. Also, return values are identified by name, as opposed to having
> a single anonymous return value. This makes functions structurally
> identical to relation values.
Cool idea. In my practice a simple function like
int foo( int arg1 )
often evolves to return more than one argument. It is very annoying to
be forced to make a user defined type
class ReturnValue (
public int ret1;
public int ret2;
)
which sole purpose is to work around the single function return type limitation. In many cases I can't even think of decent name for such a return struicture! Received on Wed Mar 08 2006 - 20:58:33 CET