[V4REV] symbolic constants

Ruslan Zasukhin sunshine at public.kherson.ua
Fri May 13 08:38:59 CDT 2005


On 5/13/05 2:52 AM, "Robert Brenstein" <rjb at robelko.com> wrote:

>>   -- get some parameters to display them:
>>   put Valentina( "Version" ) into field efVersion
>>   put Valentina( "CacheSize" ) into field efCacheSize
>>   put Valentina( "DebugLevel" ) into field efDebugLevel
>> 
>> end mouseUp
>> -------------------------------------------------------
> 
> How will Valentina distinguish these two:
> 
>    get Valentina( "DebugLevel", EVDebugLevel_kLogParams )
>    put Valentina( "DebugLevel" ) into field efDebugLevel

By number of arguments.

IMHO this is another good idea for V4REV 2.0

Because this give Rev developers way similar to other languages:
    you have PROPERTY and you have 2 form to GET and SET it.

In REALbasic they write

    Valentina.CacheSize = 500
    s = Valentina.CacheSize


In procedural language we write

    Valentina.SetCacheSize( 500 )
    s = Valentina.GetCacheSize()


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list