realbasic-plugins
[Top] [All Lists]

Re: New Instance

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: New Instance
From: "Theodore H. Smith" <delete at elfdata dot com>
Date: Wed, 1 Mar 2006 11:46:31 +0000
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <44055AAA dot 7010101 at softage dot ru>
Do it in two steps.

First use REALnewInstance.

Then call the constructor.

That's exactly what RB is doing anyhow, the fact that new has "parameters", is just syntactic sugar, in reality it'll be doing exactly what I suggested you do above.

On 1 Mar 2006, at 08:26, a.zatsepin wrote:

Hi, All.

What is the correct way to create class instance using constructor with parameters (with REALnewInstance) in my plagin?
_______________________________________________
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>



--
http://elfdata.com/plugin/



_______________________________________________
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>
  • New Instance, a.zatsepin
    • Re: New Instance, Theodore H. Smith <=