[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Frustrating array in structure. Please help

I' ve been trying everuthinh for hours now.

I define a structure in a subroutine when starting, as follows
new = {FID, Var1:0.0, data:FLTARR(12,12,12)}

The problem is that after the structure has been defined, I can only findout
what size the array must have that I call 'data'.  So the FLTARR is phony,
just to keep the structure happy. Some example normal size would be
FLTARR(64,64,2,1,100). I tried adjusting it later, but I couldn't.

How do I do this ? Can I set data:[] or something, so as to show that I'm
not finished defining it yet ? The data array size is always different,
thats the problem.

Does anyone have a clue ??

Thanks in advance, Sean Heukels