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

Home » Public Forums » archive » dymamic memory allocation
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
dymamic memory allocation [message #41888] Sun, 05 December 2004 14:11
fleduc is currently offline  fleduc
Messages: 7
Registered: December 2004
Junior Member
Hello,

How to dynamically allow memory for an array ?
For example, to declare a 2D array of 30 columns by 40 lines, you type
this code:
a = intarr(30,40)

But if you don't know, before compilation, the number of dimensions of
the array, how do we do this ?

Thank you,

Fran�ois.
[Message index]
 
Read Message
Previous Topic: Re: idl and licenses
Next Topic: reading images with small # pixels but large # bands in ENVI

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

Current Time: Wed Oct 08 15:52:13 PDT 2025

Total time taken to generate the page: 0.00386 seconds