AnsweredAssumed Answered

vrf Using the ToolHelp library: Upgrade 3

Question asked by VRFuser on Sep 6, 2002
"Marc Engle <> wrote:
> Greetings,
>     Anybody know a quick way to separate one array into two arrays (Even
> elements in one, Odd elements to another) short of using a loop to do the
> work.  I'm trying to squeeze as much time out of my routine as possible and
> that seems to be where the time is being the loop.  Any help would
> be appreciated.  Thanks, all.
> Regards,
> Marc Engle

assuming you know the type of the array and that it divides evenly (has
even number of elements) then the std TO STRING > FROM STRING path should
do the trick.

In this case take your 1D array and write a string

then use the FROM STRING to read this string as a 2D array.

Then your two columns are the even and odd elements. Example attached.



You are currently subscribed to vrf as:
To unsubscribe send a blank email to "".
To send messages to this mailing list,  email "". 
If you need help with the mailing list send a message to "".