Home »
Public Forums »
archive »
Re: dynamic array as structure field
Re: dynamic array as structure field [message #2469] |
Wed, 13 July 1994 03:01 |
stl
Messages: 70 Registered: February 1994
|
Member |
|
|
In article <2vs5l9$rur@ncar.ucar.edu> caron@acd.ucar.edu (John Caron) writes:
> Is there any way to have a structure field an array that can
> change dimensions?
>
> e.g: dummy = { f1: FltArr( dim1), f2 : ...}
>
> then:
> f1 = FltArr( dim2)
>
Hi,
Once a structure has been defined (a named one) its fields cannot be
changed. The idea behind structures is that the mapping (types)
generally should never change.
kind of a bummer, but not to bad.
-stephen
--
Stephen C Strebel / SKI TO DIE
strebel@sma.ch / and
Swiss Meteorological Institute, Zuerich / LIVE TO TELL ABOUT IT
01 256 93 85 / (and pray for snow)
|
|
|
Current Time: Wed Oct 08 19:34:07 PDT 2025
Total time taken to generate the page: 0.00482 seconds