[V4REV] Advice 2 about func names

Ruslan Zasukhin sunshine at public.kherson.ua
Wed May 11 21:42:36 CDT 2005


Hi Revolution developers,

In VXCMD 1.x we have

    get Valentina( "FuncName", param1, param2, ... )

Now, since we drop xCards support, I see possibility that each function will
be registered to Revolution. So we can get e.g.

    get Valentina_FuncName( param1, param2, ... )
    
For example:

        get Valentina_Init( 8 * 1024 * 1024 )
        get Valentina_ShutDown()

Instead of 
            
        get Valentina( "Init", 8 * 1024 * 1024 )
        get Valentina( "ShutDown" )
        


----------------
Also we can have in 2.x not only Valentina prefix but

   put VDatabase_CreateTable( "person" ) into personRef

   put VTable_CreateStringField( personRef, "Name", 50, fIndex + fUnique )
    into fldRef


Instead of 

   put Valentina( "VDatabase_CreateTable", "person" ) into personRef

   put Valentina( "VTable_CreateStringField", personRef, "Name", 50,
        fIndex + fUnique ) into fldRef
    

Do you like new syntax ?


-- 
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