does ${$formid$velocityCount} work at all?
Malcolm
At 09:55 19/11/02 +0000, you wrote:
I have also tried constructing variable names on the fly wothout success.
The VTL spec doesn't seem to cover it.
the ${formid}${velocityCount}constructs don't seem to help...
N
----- Original Message -----
From: "Keshava Murthy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 19, 2002 7:53 AM
Subject: setting varaibles in a loop
Hi
I am trying to declare variables and assign values to it in a loop ?
when i tried to assign values as given below
#foreach($i in $Privileges)
#set($formid$velocityCount = $i.getValue(2).asString())
#end
the error - Encountered "$velocityCount" appears in turbine log.
could someone suggest me how to achive this?
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.417 / Virus Database: 233 - Release Date: 08/11/02
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.417 / Virus Database: 233 - Release Date: 08/11/02
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>