|
Post by tsh73 on Oct 23, 2018 3:36:26 GMT -5
See for yourself. DIM allows several arrays on single DIM, REDIM - not
dim a(20) 'works dim b(20), c(20) 'works redim a(30) 'works redim b(30), c(30) 'fails with 'Missing expression'
|
|
|
Post by Brandon Parker on Oct 23, 2018 9:54:40 GMT -5
Anatoly, Are you saying that this is a bug? The Dim statement is shown in the documentation as being capable of dimensioning multiple arrays at once. I cannot find documentation that shows the ReDim statement being used with more than one array. One then cannot (should not) assume that ReDim would work just as the Dim statement does.
{:0)
Brandon R. Parker
|
|
|
Post by tsh73 on Oct 23, 2018 11:50:26 GMT -5
Hello Brandon It is not bug in a sense "documentation promise it should work, but it doesn't"/ Documentation does not promises it. But I don't see reason for it to behave differently. My guess is that "several arrays in one DIM" was added feature - and it just doesn't get ported to REDIM. So may be next version they will be set in sync again. Just to make world a bit close to perfect
|
|