Or you could just use <@ADDROWS> to make one big array out of many other arrays.

Assuming of course, the column dimensions are the same for each.

Hope this helps....

Scott Cadillac,
XML-Extranet ~ 403-254-5002 ~ [EMAIL PROTECTED]
------------
Well-formed Programming in C# ASP.NET, Witango and XML 
For Hire ~ http://xmlx.ca/forhire
------------
IExtranet ~ http://IExtranet.net
------------
Weblog ~ http://xmlx.ca
Forums ~ http://forums.xmlx.ca
Knowledge Base ~ http://kb.xmlx.ca
------------
P.O. Box 69006
RPO Bridlewood SW
Calgary, Alberta
Canada T2Y 4T9



-----Original Message-----
From: "Alan Wolfe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Date: Fri, 3 Sep 2004 10:24:42 -0700
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