[Zope] Re: 2d list manipulation

Tim Russell snark@ou.edu
Sun, 10 Sep 2000 17:24:56 -0500


OK, figured it out. About the only way I can see to do it in DTML is this:

   <dtml-call "col[index1].insert(index2, col[index1].pop(index2)+1)">

This command happens to increment the value at col[index1][index2], and this
strategy allows any operation to be done on the value. It appears to be
quite fast as well, so I'm content.

--Tim