HTBasic Help
×
Menu
Index

CONFIGURE DIM Example

10    !Before you run this program,
20    !go to a command line and type
30    !the command CONFIGURE DIM OFF.
40    !If you don't, it won't work properly.
50    !The test should produce ERROR 16.
60    !Error 16 is produced because the
70    !variable A$ was not dimensioned first.
80    !With CONFIGURE DIM ON, you do not
90    !need to dimension a variable first.
100   ON ERROR GOTO 70
110   A$="Hello"
120   END