9 Jun
2001
9 Jun
'01
11:48 a.m.
On Sat, 9 Jun 2001, Paz wrote:
Just out of curiosity, what is the difference between these two lines Oleg?
<dtml-var "_.getitem('index.html', 0)">
Return just the object, so you can ask the object for its properties, for example.
<dtml-var "_.getitem('index.html', 1)">
Return string representation of the object. If the object is renderable (callable) - render (call) it. Of course, you cannot ask the resulting string if the original object had any properties. Oleg. ---- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.