Is there a way to assign and display a calculation in one statement?

  [% SGET a = 1 + 2 # set "a" to 3 and display it %]

Currently I'm doing [% a = ...; a %] which is fine...

Brad

--
  There is a saying of the elders' that goes, "Step from under the eaves
  and you're a dead man. Leave the gate and the enemy is waiting." This
  is not a matter of being careful. It is to consider oneself as dead
  beforehand.                     -- Hagakure http://bereft.net/hagakure/

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to