Phil M <[EMAIL PROTECTED]> wrote: > How do you overload a constructor for a class defined with > REALclassDefinition? I would like to have the following: > > Constructor(p As Picture) > Constructor(w as Width, h As Height) > > The documentation only seems to provide information for a default (no > parameters) constructor and that is one that I *don't* want.
that's the initialiser which is always called. Just define two methods for your constructors. Gruß Christian -- Around eleven thousand functions in one REALbasic plug-in. The Monkeybread Software Realbasic Plugin v6.2. <http://www.monkeybreadsoftware.de/realbasic/plugins.shtml> _______________________________________________ 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>
