17.07.2013 Views

GWBASIC User's Manual

GWBASIC User's Manual

GWBASIC User's Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

GW-BASIC <strong>User's</strong> Guide<br />

8 Undefined line number<br />

A line reference in a GOTO, GOSUB, IF-THEN...ELSE, or DELETE is a nonexistent line.<br />

9 Subscript out of range<br />

An array element is referenced either with a subscript that is outside the dimensions of the<br />

array, or with the wrong number of subscripts.<br />

10 Duplicate Definition<br />

Two DIM statements are given for the same array, or a DIM statement is given for an array<br />

after the default dimension of 10 has been established for that array.<br />

11 Division by zero<br />

A division by zero is encountered in an expression, or the operation of involution results in<br />

zero being raised to a negative power. Machine infinity with the sign of the numerator is<br />

supplied as the result of the division, or positive machine infinity is supplied as the result<br />

of the involution, and execution continues.<br />

12 Illegal direct<br />

A statement that is illegal in direct mode is entered as a direct mode command.<br />

13 Type mismatch<br />

A string variable name is assigned a numeric value or vice versa; a function that expects a<br />

numeric argument is given a string argument or vice versa.<br />

14 Out of string space<br />

String variables have caused GW-BASIC to exceed the amount of free memory remaining.<br />

GW-BASIC allocates string space dynamically until it runs out of memory.<br />

15 String too long<br />

An attempt is made to create a string more than 255 characters long.<br />

16 String formula too complex<br />

A string expression is too long or too complex. Break the expression into smaller<br />

expressions.<br />

17 Can't continue<br />

An attempt is made to continue a program that<br />

● Has halted because of an error<br />

● Has been modified during a break in execution<br />

● Does not exist<br />

file:///C|/Documents%20and%20Settings/Lorenzo/Desktop/GW%20Basic/Appendix%20A.html (2 of 7)28/03/2004 21.29.03

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!