Re: Who designed that [dict] command anyway?!? [Was: Core commands as ensembles...]



Fredderic wrote:
....
Since [apply] lacks [with]s ability to change values in the dict, I was
thinking of re-implementing [with] using [upvar], but with either a
list of item names to export, or assigning the items into an array
instead of plain variables. Either is preferable when you may not be
the one who built the dict in the first place.

See [dictutils apply] at http://wiki.tcl.tk/17686

-- Neil
.



Relevant Pages

  • Re: Assignment to slice
    ... > I do not understand why python behaves the way it does ... Python doesn't like that I'm assigning ... > Why does assigning to a slice of non-existent array ... at least the first index in the slice should be ...
    (comp.lang.python)
  • Re: non repeating random numbers
    ... numeric array, all of its elements are set to zero. ... However, as I said in the beginning, this method of assigning ... (making it an efficient method to use). ...
    (microsoft.public.vb.general.discussion)
  • Assignment to slice
    ... Python doesn't like that I'm assigning ... Why does assigning to a slice of non-existent array ... in which I tried to assign out-of-range, ...
    (comp.lang.python)
  • Re: never heard anything like it in my life?
    ... other progarmmers) talk about assigning "to an array", ... talk about assigning to a member of an array using the same terminology. ... But again, that is not assigning to an array, it is assigning to a pointer, ...
    (comp.lang.cpp)
  • Re: Array Functions
    ... >>range to an array of objects because you or I think it doesn't make ... > that InputRange also contains object references. ... only values that are acceptable to an array of the type that InputArray ... permitting the assigning of ranges to Object type arrays would be worth it. ...
    (microsoft.public.excel.worksheet.functions)