Hi Roland,

Yes you can add a row to an array you're processing using <@addrows>.
However if you have this in a <@rows> loop you will end up with an array
exactly double in size (and not n+1 as you suggested) as for each iteration
a row will be added. These new rows will also not be processed within the
initial <@rows> loop as if they were you would end up with an infinite
loop....the initial array getting bigger by one row for each iteration.

Can you be a bit more specific in what you are trying to achieve. If you
want only one row to be added during the <@rows> process then you could for
example check to see if <@currow>=1 and if so add a row, otherwise process
as normal.

Hope this helps and if I can assist you further please contact me.

Fergal


----- Original Message ----- 
From: "Roland Dumas" <[EMAIL PROTECTED]>
To: "WiTango List" <[EMAIL PROTECTED]>
Sent: Wednesday, February 18, 2004 7:57 AM
Subject: Witango-Talk: adding rows


> Can I add a row to an array that I'm processing?
>
> as in: between <@rows> and </@rows> can I add a row and have it be
> processed by the <@rows> loop? staring with n rows, but ending up with
> N+1?
>
> ________________________________________________________________________
> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to