comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Saving for loop values into arrays without know the final size of array
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Saving for loop values into arrays without know the final size of array [message #89159 is a reply to message #89158] Tue, 29 July 2014 14:31 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 7/29/14, 2:56 PM, gpeterso%ucsc.edu@gtempaccount.com wrote:
> Thanks for the suggestions! I am currently using version 6.2
>

I have an implementation of an "array list" (MGcoArrayList class) which
preallocates a fixed size array, then doubles the size every time you
over run it's current size. It handles remembering how long it is and
supports toArray, deletion, count, etc. It's in the collection/
directory of mglib, which you can find at:

github.com/mgalloy/mglib

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
Research Mathematician
Tech-X Corporation
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Automatically generating IDL bindings
Next Topic: [ANN] MIDLE - Almost an Alternative to EXECUTE

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:36:30 PDT 2025

Total time taken to generate the page: 0.00863 seconds