realbasic-plugins
[Top] [All Lists]

Re: Operator_Convert

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: Operator_Convert
From: Mars Saxman <mars at realsoftware dot com>
Date: Tue, 28 Jun 2005 14:36:45 -0700
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <5ffd0bf43fa05305274a0fdda756ca70 at mac dot com>

On Jun 28, 2005, at 1:49 PM, Alfred Van Hoek wrote:

When a class defines the Operator_Convert to convert from will the default constructor of this class be called by REALbasic, or should the plugin take care of it all and implement a copy constructor?

The Operator_Convert from method takes the place of a constructor method. It does not affect the behavior of the 'constructor' proc on the REALclassDefinition (which I would like to rename 'initializer', as it is unrelated to constructor methods).

Mars Saxman
REAL Software
_______________________________________________
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>