Jerry Gay <[EMAIL PROTECTED]> wrote:
> On Tuesday, March 16, 2004 7:32 AM, Jens Rieks wrote:

>> You can also use another namespace:
>>      store_global "TCL::InternalData", "globals", the_hash
>>      ...
>>      find_global the_hash, "TCL::InternalData", "globals"

> is there a good reason why the signatures are different for 'store_global'
> and 'find_global'? i can see the logic for either way, but a different
> argument list for each is inconsistant, and a bit confusing.

The 2 argument version of {store,find}_global was adjusted to have the
current ordering of data +12 months ago IIRC. The 3 argument forms are
extenstions, which you could read similar to:

  store_global namespace [ var ], Pvar
  find_global PRes, namespace [ var ]

> i know that store_global and find_global are new,

No, not really. Only the 3 argument form is new.

> and they aren't listed in > ops.num yet,

They are listed in ops.num #1374 - #1385 since quite a time.

> where would i go about finding more info on this?

docs/ops/var.pod

> ... i'd like to submit a
> patch (if needed),

No patches needed. Argument ordering is fine and consistent.

> --jerry

leo

Reply via email to