Xojo Conferences
XDCMay2019MiamiUSA

About new RB compiler, default params, enums (Real Studio Plugins Mailinglist archive)

Back to the thread list
Previous thread: How to debug plugins on Windows
Next thread: Blank line at top of autocomplete popup


Re: Mail Errors [was Re: New Plugins SDK Available]   -   Jan Erik Moström <
  About new RB compiler, default params, enums   -   Ruslan Zasukhin
   Re: About new RB compiler, default params, enums   -   Mars Saxman
    Re: About new RB compiler, default params, enums   -   Ruslan Zasukhin
     Re: About new RB compiler, default params, enums   -   Mars Saxman
      Re: About new RB compiler, default params, enums   -   Ruslan Zasukhin
      Re: About new RB compiler, default params, enums   -   Christian Schmitz
       Re: About new RB compiler, default params, enums   -   Mars Saxman
        Re: About new RB compiler, default params, enums   -   Ruslan Zasukhin

About new RB compiler, default params, enums
Date: 17.01.03 20:48 (Fri, 17 Jan 2003 21:48:38 +0200)
From: Ruslan Zasukhin
Hi All,

I with big pleasure have read text file with description of new compiler.
RB language become more mature OO language. :-)

Wow, overload operators!

Wow, interface now correctly works with virtual functions.
By the way, Geoff, I think now good time to workout good and correct
interface classes for Database area, something like ADO and Valentina
classes. We already have discuss this point several times. As I see before
was great technical barrier on this way.

Wow, default parameters in functions.
* Question, can we have default parameters for out functions in the plugins?
* Please do not say me that this not works in plugins.
*
******
And only obvious miss IMHO -- ENUM Types, which can be defined in the
plugins also. ENUM are very important I think, because we, plugin developers
must be able add our own constants and types to our classes.

Is it possible consider adding of enums into 5.0 release?
This must be not very hard task...

Many environments where work Valentina do this:
WebSiphon, VisualBASIC, PHP, Java, ..

Re: About new RB compiler, default params, enums
Date: 17.01.03 21:04 (Fri, 17 Jan 2003 12:04:40 -0800)
From: Mars Saxman
<email address removed> wrote:

> Wow, default parameters in functions.
> * Question, can we have default parameters for out functions in the plugins?

Of course.

> Is it possible consider adding of enums into 5.0 release?
> This must be not very hard task...

It's harder than it probably seems. Besides, we've already released beta 1,
and that marks the feature freeze for RB 5.0.

Mars Saxman
REAL Software

---
A searchable archive of this list is available at:
<http://support.realsoftware.com/KBDB/search.php>

Unsubscribe:
<mailto:<email address removed>>

Subscribe to the digest:
<mailto:<email address removed>>

Re: About new RB compiler, default params, enums
Date: 17.01.03 21:24 (Fri, 17 Jan 2003 22:24:19 +0200)
From: Ruslan Zasukhin
on 1/17/03 10:04 PM, Mars Saxman at <email address removed> wrote:

>> Wow, default parameters in functions.
>> * Question, can we have default parameters for out functions in the plugins?
>
> Of course.

And new SDK support this I guess?
Ok, I will check.
This was my dream over 2 years.

>> Is it possible consider adding of enums into 5.0 release?
>> This must be not very hard task...
>
> It's harder than it probably seems. Besides, we've already released beta 1,
> and that marks the feature freeze for RB 5.0.

"I knew you say this" :-)

Re: About new RB compiler, default params, enums
Date: 17.01.03 21:38 (Fri, 17 Jan 2003 12:38:15 -0800)
From: Mars Saxman
<email address removed> wrote:

> on 1/17/03 10:04 PM, Mars Saxman at <email address removed> wrote:
>
>>> Wow, default parameters in functions.
>>> * Question, can we have default parameters for out functions in the plugins?
>>
>> Of course.
>
> And new SDK support this I guess?

You simply change the text in your REALmethodDefinition's declaration field
to include the default parameters, using the new syntax. No SDK changes are
involved.

Mars Saxman
REAL Software

---
A searchable archive of this list is available at:
<http://support.realsoftware.com/KBDB/search.php>

Unsubscribe:
<mailto:<email address removed>>

Subscribe to the digest:
<mailto:<email address removed>>

Re: About new RB compiler, default params, enums
Date: 17.01.03 21:44 (Fri, 17 Jan 2003 22:44:57 +0200)
From: Ruslan Zasukhin
on 1/17/03 10:38 PM, Mars Saxman at <email address removed> wrote:

>>>> Wow, default parameters in functions.
>>>> * Question, can we have default parameters for out functions in the
>>>> plugins?
>>>
>>> Of course.
>>
>> And new SDK support this I guess?
>
> You simply change the text in your REALmethodDefinition's declaration field
> to include the default parameters, using the new syntax. No SDK changes are
> involved.

Great!

Re: About new RB compiler, default params, enums
Date: 17.01.03 21:58 (Fri, 17 Jan 2003 21:58:40 +0100)
From: Christian Schmitz
> <email address removed> wrote:
>
> You simply change the text in your REALmethodDefinition's declaration field
> to include the default parameters, using the new syntax. No SDK changes are
> involved.

What will older RB version do with the default value?

mfg
Christian

Re: About new RB compiler, default params, enums
Date: 17.01.03 22:05 (Fri, 17 Jan 2003 13:05:16 -0800)
From: Mars Saxman
<email address removed> wrote:

>> <email address removed> wrote:
>>
>> You simply change the text in your REALmethodDefinition's declaration field
>> to include the default parameters, using the new syntax. No SDK changes are
>> involved.
>
> What will older RB version do with the default value?

Choke, telling you "invalid plugin method format".

Mars Saxman
REAL Software

---
A searchable archive of this list is available at:
<http://support.realsoftware.com/KBDB/search.php>

Unsubscribe:
<mailto:<email address removed>>

Subscribe to the digest:
<mailto:<email address removed>>

Re: About new RB compiler, default params, enums
Date: 17.01.03 22:46 (Fri, 17 Jan 2003 23:46:19 +0200)
From: Ruslan Zasukhin
on 1/17/03 11:05 PM, Mars Saxman at <email address removed> wrote:

>>> You simply change the text in your REALmethodDefinition's declaration field
>>> to include the default parameters, using the new syntax. No SDK changes are
>>> involved.
>>
>> What will older RB version do with the default value?

Good question!

> Choke, telling you "invalid plugin method format".

Hmm, then in fact there is no big win, because in old plugins we have
provide several versions of functions to emulate this feature.

And until we need support old RB versions ...