At 4:36 PM -0500 8/30/05, William Squires wrote:
I'm not saying to 'New' a reference to "Object", as you can't -
it's an abstract class; intended only to be subclassed. You 'New' a
reference to some other subclass (that's not abstract), then assign
the reference thereof to a variable (or array) of type
'reference-to-Object' so that you can take advantage of polymorphism
without type-mismatch errors.
This thread is about actually, literally, saying "New Object".
Apparently that generates an error in REALbasic 2005, though it was
allowed in 5.5.
Best,
- Joe
--
Joe Strout REAL Software, Inc.
Vote for REALbasic (twice!) in the LinuxWorld Reader's Choice Awards:
http://linux.sys-con.com/general/readerschoice.htm
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|