26 Nov
1999
26 Nov
'99
1:04 p.m.
On Fri, 26 Nov 1999, Shalabh Chaturvedi wrote:
| <dtml-var "map[key]"> should work though.
Yes it does work (except when unlike `key`, the name has a hyphen - eg. `sequence-index`):-
<dtml-var "REQUEST[squence-index]"> doesn't work. Probably gets evaluated as sequence - index ('-' = subract). (These little gotchas!)
But this achieves the same:- <dtml-let si=sequence-index> <dtml-var "REQUEST[si]">
<dtml-var "REQUEST[_['squence-index']]"> Oleg. ---- Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru Programmers don't die, they just GOSUB without RETURN.