If you know the rows, and they are sequential, you don't have to loop
through the entire array:
<@for start=59 stop=89 step=1>
<@addrows @@local$newArray <@var local$oldArray[<@currow>,*]>>
</@for>
If they are non sequential, then you would have to be a little more
creative.
--
Robert Garcia
BigHead Technology
21053 Devonshire Suite 206
Chatsworth, Ca 91311
Phone 818.773.8162
Fax 818.773.8164
http://www.bighead.net/
[EMAIL PROTECTED]
> From: "Nathan Hitchcock" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Thu, 9 May 2002 12:51:27 -0700
> To: Multiple recipients of list witango-talk <[EMAIL PROTECTED]>
> Subject: Witango-Talk: Selecting rows x through y of an array
>
> Hello List,
>
> What's the easiest way to take a group of rows in an array and assign
> them to a new array? For example, taking rows 59-89 in array_1 and
> assigning just those 30 to a new array_2. There must be something
> with less overhead than looping through the array using the start and
> stop parameters of an <@ROWS> instance.
>
> Any thoughts?
>
>
> Nathan Hitchcock
> HLI Systems
>
> ________________________________________________________________________
> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
> with unsubscribe witango-talk in the message body
>
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
with unsubscribe witango-talk in the message body