| To: | REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: Class Constructor |
| From: | "Stephen A. Cochran Lists" <stephen dot a dot cochran dot lists at cahir dot net> |
| Date: | Fri, 26 Jan 2007 22:51:16 -0500 |
| Delivered-to: | listarchive at realsoftware dot com |
| Delivered-to: | realbasic-plugins at lists dot realsoftware dot com |
| References: | <1hskxre dot 1g83usktlnfvaM%support at monkeybreadsoftware dot de> <6080E95D-AD14-4F3C-91CE-EDA6B596D45D at cahir dot net> <F3D0B10D-EDF5-437C-BB2C-98B87D9F63BA at great-white-software dot com> |
Ahh, go it. I remember reading that in the FAQ. I misread the
statement to mean that you couldn't use the new operator to
instantiate the class. That's why I was confused.
Steve On Jan 26, 2007, at 10:18 PM, Norman Palardy wrote: The only way to indicate in RB that a constructor failed would be by raising an exception. Since the constructor does not actually return anything you cannot use a NIL return value to indicate the constructor failed. _______________________________________________ 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> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Class Constructor, Norman Palardy |
|---|---|
| Next by Date: | g.DrawPicture change Clipping?, Alexander Cohen |
| Previous by Thread: | Re: Class Constructor, Norman Palardy |
| Next by Thread: | g.DrawPicture change Clipping?, Alexander Cohen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |