> Date: Mon, 27 Mar 2000 18:44:42 +0700
> Subject: Array construction
> From: Karn Trisophon <[log in to unmask]>
> To: [log in to unmask]
> Reply-to: Karn Trisophon <[log in to unmask]>
> Dear all,
>
> The DVF 5.0 behave weirdly while I try to construct a vector, perhaps
> someone can help.
>
> The code looks like this
> Ne = 110
> do 100, i = 1, m
> xb(i) = ne
>
> .... process another 2 dimensional array using i and xb(i) as subscript
>
> ne = ne +1
> 100 continue
>
> At ne = 121, instead of having 121 stored in XB, I got 10655353... But
> ne is still have the value of 121 and in the next iteration its value
> is122.
>
> Can any one help?
Depends on the declaations of array XB and "another 2 dimensional array",
which you haven't shown us.
Likely cause is a subscript error.
Have you enabled subscript checking? (if available)
>
> TIA
> Karn
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|