realbasic-plugins
[Top] [All Lists]

Re: Overloading a Constructor

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: Overloading a Constructor
From: Phil M <phil at mobleybros dot com>
Date: Fri, 21 Jul 2006 16:24:57 -0400
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <1hiuist dot 1xnb41aq4hw21M%support at monkeybreadsoftware dot de>
On Jul 21, 2006, at 4:08 PM, Christian Schmitz wrote:

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.

Sorry, I am a little slow.  Could you please give an example?


_______________________________________________
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>


From  Fri 21 Jul 2006 22:27:35 +0200
Return-Path: <realbasic-plugins-bounces at lists dot realsoftware dot com>
X-Original-To: listarchive at realsoftware dot com
Delivered-To: listarchive at realsoftware dot com
Received: by xmail.realsoftware.com (Postfix, from userid 1037)
        id 405F9872A84; Fri, 21 Jul 2006 13:27:51 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on realxserve.local
X-Spam-Level: X-Spam-Status: No, score=-2.6 required=4.5 tests=AWL,BAYES_00 autolearn=ham version=3.1.1
Received: from lists.realsoftware.com (lists.realsoftware.com [209.198.132.125])
        by xmail.realsoftware.com (Postfix) with ESMTP id EEAD5872A74;
        Fri, 21 Jul 2006 13:27:49 -0700 (PDT)
Received: from lists.realsoftware.com (localhost [127.0.0.1])
        by lists.realsoftware.com (Postfix) with ESMTP
        id B33B113A7D47; Fri, 21 Jul 2006 15:27:41 -0500 (CDT)
X-Original-To: realbasic-plugins at lists dot realsoftware dot com
Delivered-To: realbasic-plugins at lists dot realsoftware dot com
Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de
        [80.67.18.13])
        by lists.realsoftware.com (Postfix) with ESMTP id 304E013A7D3A
        for <realbasic-plugins at lists dot realsoftware dot com>;
        Fri, 21 Jul 2006 15:27:36 -0500 (CDT)
Received: (qmail 29865 invoked from network); 21 Jul 2006 20:27:35 -0000
Received: from unknown (HELO [192.168.1.80]) (363246 at [84 dot 175 dot 119 dot 
67])
        (envelope-sender <support at monkeybreadsoftware dot de>)
        by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP
        for <realbasic-plugins at lists dot realsoftware dot com>;
        21 Jul 2006 20:27:35 -0000
To: realbasic-plugins at lists dot realsoftware dot com (REALbasic Plugins)
In-Reply-To: <E8ACDAE1-8588-4C28-B33A-95AA62CEE832 at mobleybros dot com>
From: support at monkeybreadsoftware dot de (Christian Schmitz)
Date: Fri, 21 Jul 2006 22:27:35 +0200
Message-ID: <1hiujoy dot syxsec18mziq3M%support at monkeybreadsoftware dot de>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Organization: Monkeybread Software Germany
X-Face: nrf3>{WQ6c&r+7 at e)"]0G60`-6ND^)I2mI%>)QGYa=9"=7jhd-g2|b3!>Al0+
        Ccb%xGQshhi|g at QU2$
User-Agent: MacSOUP/D-2.7 (Mac OS X version 10.4.7)
Subject: Re: Overloading a Constructor
X-BeenThere: realbasic-plugins at lists dot realsoftware dot com
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot 
com>
Sender: realbasic-plugins-bounces at lists dot realsoftware dot com
Errors-To: realbasic-plugins-bounces at lists dot realsoftware dot com

Phil M <phil at mobleybros dot com> wrote:

Sorry, I am a little slow.  Could you please give an example?

Just like in RB. Define methods as usual and name them Constructor or
class name.

For use of REALmethodDefinition, please check the examples.

Gru=DF
Christian

--=20
Around eleven thousand functions in one REALbasic plug-in.=20
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>


<Prev in Thread] Current Thread [Next in Thread>