[V4REV] symbolic constants
Ruslan Zasukhin
sunshine at public.kherson.ua
Mon May 16 12:20:48 CDT 2005
On 5/13/05 12:48 PM, "Robert Brenstein" <rjb at robelko.com> wrote:
> It does not matter that it is a single call. *I* want to control when
> and where (and if) you create it. Nothing personal :) I just don't
> like you doing things behind my back. Particularly with globals which
> can really be a source of conflicts or errors.
>
> I may want
>
> global gMyValConstants
> put Valentina("Constants") into gMyValConstants
> put Valentina("DebugLevel", gMyValConstants["kLogParam"])
>
> or I may want
>
> local cVal
> put Valentina("Constants") into cVal
> put Valentina("DebugLevel", cVal["kLogParam"])
>
> or just
>
> put Valentina("DebugLevel", 3) -- LogParam
>
> With a single global, having your symbolic names identical as in RB
> will work just fine. Recalling any name which is not defined
>
> Yes, using arrays require more typing but having a single global
> related to Valentina is a big plus IMHO. And what you propose is
>
> put Valentina("DebugLevel", gValentina_kLogParam)
>
> which is not any shorter to type.
Good points Robert!
We can consider this way.
--
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