Does Witango support doing something like this?:

Suppose I have a two dimensional array (from SQL result set) as a simple 
example:
resultSet =          [[ 1, a, a]
[ 2, b, b]
[ 3, c, c]]

I want perform some logic where I filter which rows I eventually want.  Once I 
do that I want to create a "result" array.  On each For loop iteration I would 
like to optionally assign the result array an row

loop over <@numrows resultSet>
                IF some filtering logic
<@assign name='resultArray' value='<@array row=@loopIndex>'>
End loop

Basically, can the array assignment be dynamic?


Doug Holubek
Senior Software Engineer
[cid:[email protected]]
604 Courtland Street, Suite 300
Orlando, FL 32804
407.835.9899 ext. 202
407.835.9838 Fax
www.eschoolsolutions.com<http://www.eschoolsolutions.com>




----------------------------------------

To unsubscribe from this list, please send an email to [email protected] 
with "unsubscribe terascript-talk" in the body.

<<inline: image001.jpg>>

Reply via email to