On Jul 21, 2006, at 4:27 PM, Christian Schmitz 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.
There are only 7 examples in the SDK and none of them have overloaded
constructors. The only other plugin source code examples I have are
the PNG Utilities and the TT Plugin Starter. I learn best by
example, but there are very few examples to work with, and the
documentation is incomplete or in some cases inaccurate.
_______________________________________________
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:46:30 +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 16831872D57; Fri, 21 Jul 2006 13:46:45 -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 3E440872D4A;
Fri, 21 Jul 2006 13:46:44 -0700 (PDT)
Received: from lists.realsoftware.com (localhost [127.0.0.1])
by lists.realsoftware.com (Postfix) with ESMTP
id 889D113A7F44; Fri, 21 Jul 2006 15:46:35 -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 D475913A7F37
for <realbasic-plugins at lists dot realsoftware dot com>;
Fri, 21 Jul 2006 15:46:30 -0500 (CDT)
Received: (qmail 2588 invoked from network); 21 Jul 2006 20:46:30 -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:46:30 -0000
To: realbasic-plugins at lists dot realsoftware dot com (REALbasic Plugins)
In-Reply-To: <943F2C42-8E51-40A8-A7D8-A261FFC0B8CC at mobleybros dot com>
From: support at monkeybreadsoftware dot de (Christian Schmitz)
Date: Fri, 21 Jul 2006 22:46:30 +0200
Message-ID: <1hiukjx dot zes5wajf389bM%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:
There are only 7 examples in the SDK and none of them have overloaded
constructors.
Well, I'm sorry, but I think overloaded constructors were added later
and examples are old. Just define methods like in RB and you are fine.
Over time you will learn that the RB SDK is a lot of guessing and
trying.
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>
|