Dynamic array size reallocation
Next message: Michael Metcalf: "Re: Dynamic array size reallocation"
Date: 23 Sep 2004 11:45:05 -0700
How do you go about reassigning the array size in CVQ dynamically?
Whenever I try to put an allocate statement too far into the program,
it complains. Is array size allocation in CVQ a one-off thing?
Next message: Michael Metcalf: "Re: Dynamic array size reallocation"
Relevant Pages
- Re: why does Fortran 95 require DEALLOCATE?
... If the array is already ALLOCATE'd, ... > it was considered dangerous for an ALLOCATE statement to silently ... Garbage collection is not a feature required of Fortran ... (comp.lang.fortran) - Re: how to use 1D array as a multidimensional array
... My arrays are allocated dynamically using allocate statement. ... If it can not be done, I guess I have to live with the ugly code. ... > If the array size is actually fixed, as it is in your example, ... My fortran book says equivalence is deprecated. ... (comp.lang.fortran) - Re: allocatable array *not* equivalent to dynamic allocation?
... exactly the same as that of the ALLOCATE statement. ... The difference is that the REALLOCATE statement throws an error when given an unallocated array, and preserves the data when given an allocated one, rather than first deallocating its argument. ... the array before re-allocation and if it is within the array bounds after re-allocation, then ais defined to have the same value after the re-allocation. ... (comp.lang.fortran) - Re: Dynamic array size reallocation
... > Whenever I try to put an allocate statement too far into the program, ... Is array size allocation in CVQ a one-off thing? ... This is the technique I use: ... Then I allocate zlevel_a to an initial size and assign zlevel to point to ... (comp.lang.fortran) - Re: Passing an array to function
... It had said that it couldn't recognize the array passed - or some such ... When I copy/paste your function into VBE, it first complains about ... I don't know what you intend with this test, ... I suggest using Option Explicit at the top of each module, ... (microsoft.public.access.modulesdaovba) |
|