Did the trick!  Thanks...!

----- Original Message ----- 
From: "Alan Wolfe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 03, 2004 10:24 AM
Subject: Re: Witango-Talk: Array of arrays


> Hi Dave,
> 
> Nope you cant, but you can acheive the same results if you get a little
> creative and include the index in the variable name itself.
> 
> what i mean is like this
> 
> <@for start=1 stop=10>
>   <@assign name="local$array_of_results<@currow>" value="@@local$resultset">
> </@for>
> 
> what that would do is create 10 variables: local$array_of_results1 through
> local$array_of_results10 each storing their own array, so that basicly you
> would have an array of arrays :P
> 
> you can loop through it like this to display them all:
> 
> <@for start=1 stop=10>
>   Array <@currow>: <@var name="local$array_of_results<@currow>">
> </@for>
> 
> ----- Original Message ----- 
> From: "Dave Machin" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, September 03, 2004 9:33 AM
> Subject: Witango-Talk: Array of arrays
> 
> 
> > Is there a way in WiTango (.065) to have an array of arrays?
> >
> > I.e., in a loop of queries, I want to assign each resultset to an element
> in an array - like this:
> >
> > <@assign local$array_of_results[@@local$i,1]=@@resultset>
> >
> > Can that work?
> >
> > Dave Machin
> >
> >
> > E-Mail. [EMAIL PROTECTED]
> > Tel.  805.614.0123 x 30
> > Address: 3201 Airpark Drive, Suite 104
> > Santa Maria, CA
> 93455_______________________________________________________________________
> _TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
> 
> ________________________________________________________________________
> 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