REDIM PRESERVE Only Allows Changing Rightmost Subscript (75517)
The information in this article applies to:
- Microsoft Visual Basic for MS-DOS
- Microsoft Basic Professional Development System for MS-DOS 7.1
This article was previously published under Q75517 SUMMARY
When using the REDIM PRESERVE statement to redimension a
multidimensional array in Microsoft Visual Basic for MS-DOS, version
1.0; or Microsoft Basic Professional Development System (PDS) for
MS-DOS, version 7.1, you are only allowed to change the value of
the last subscript (or the value of the first subscript if you invoke
BC.EXE with the /R option), or you will get the error message
"Subscript Out Of Range".
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB75517 |
---|
|