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

Home » Public Forums » archive » [Q] structure definition with variable array size
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
[Q] structure definition with variable array size [message #12101] Thu, 25 June 1998 00:00
dEdmundson is currently offline  dEdmundson
Messages: 23
Registered: February 1998
Junior Member
I wish to create a structure for holding a slice from a 3d volume along
with domain info, e.g.,

pro slice__define
tmp = {slice, data:fltarr(100,100), x:fltarr(100), y:fltarr(100), z:0.0}
end

This definition is fine if the data dimensions are known. However, what
if the array sizes are only known at runtime when the data file is opened
and brought into IDL. Is it possible to have structures with arbitrary
length arraysa la F90, C, or Pascal?

Cheers,
Darran.

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading
[Message index]
 
Read Message
Previous Topic: [Q] OOP IDL and the self parameter ...
Next Topic: [Q] IDL 5.1, passing keyword params to subprocedures

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

Current Time: Wed Oct 08 18:12:05 PDT 2025

Total time taken to generate the page: 0.00239 seconds