Massimo Valle <[email protected]> wrote: > So I can avoid using shared methods. Just use the constructor and > raise an exception if the argument is not valid.
You can use some shared methods for factory. The constructor (a method named Constructor) is not called by REALnewInstance(), so you can create your object without having the exception raised. Greetings Christian -- Over 1100 classes with 22000 functions in one REALbasic plug-in. The Monkeybread Software Realbasic Plugin v9.0. <http://www.monkeybreadsoftware.de/realbasic/plugins.shtml> _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
