The problem with this is that there is a lot of overhead in instantiating a class for this purpose - not to mention the memory management overhead.
Structures would be fine in many cases, but don't work if one needs to return references to classes or arrays. Plus one has to define both classes and structures outside the code, via the IDE, so extra tedium there - for what might only be a solution to return two values. Not exactly elegant or terse... On 24/3/07 05:04, "Karen" <[EMAIL PROTECTED]> wrote: > After all you can return an object or a structure which can hold > multiple values. Regards, Dan _______________________________________________________ www.13flatFIVE.com The C++ <> REALbasic code migration specialists _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
