| ?REDIM'D ARRAY ERROR | Reference/BASIC Error Messages
Arrays can only have their dimensions set once. This error occurs if a DIM statement is used on an array for a second time, or if a DIM statement is used on a previously referenced array (BASIC automatically executes DIM statements for such arrays, with a default dimension of 10). An array can only be redimensioned after a CLR statement (which resets all variables) is executed first.
10 DIM A(20) 20 A(15)=1 30 DIM A(25) Causes the error
10 A(5)=5 20 DIM A(15) Causes the error
19 |
| |
Copyright © Plus/4 World Team, 2001-2024. Support Plus/4 World on Patreon |