Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Illegal number
■ You have used a number that is inappropriate for the
context in which it is used. For example, Visual Basic does
not allow you to declare a fixed-length string of zero
length, so DIM X AS STRING * 0 is illegal.
■ An illegal number also occurs if you declare contradictory
values. For example, using an integer type-declaration
character with a floating-point number (for example, 10.20%)
causes this error.
■ Possible solution:
• Verify that you are not using a number that is
inappropriate for its context and that you are not
declaring contradictory values.
■ If you need additional help, move the cursor to a keyword
and press F1 to open the Help window.