Remote-processing CAMBASIC Manuale Utente Pagina 186

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 208
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 185
Error Messages - 1
The following list of error messages are returned by CAM BASIC. These indicate clearly, what is wrong, within the
context of a program, and should be of great use in program debugging.
NUM MESSAGE EXPLANATION
0 < Unknown err or> Error is undefined
1 < NEXT w/o FOR> A NEXT statement is encountered without a matching FOR.
2 < Syntax> A line is encountered that includes an incorrect sequence of characters
(misspelled keyword, incorrect punctuation, etc.).
3 < RETURN w/o GOSUB> A RET URN statement is encountered for which ther e is no previous,
unmatched GO SUB statem ent.
4 < Out of DATA> A READ statement is executed when there are no more DATA
statements with unread data remaining in the program.
5 < Illegal argument> A parameter that is out of range is passed to a numeric or string function.
This error m ay also occur as a result of:
a. A negative or unr easonably lar ge subscript.
b. A negative or zero argum ent with the LOG function.
c. A negative argument to SQR.
d. A negative mantissa w ith a non-integer exponent.
e. An improper argument to MID$, LEFT$, RIGHT$, PEEK,
POKE, TAB, SPC or ON...GOTO.
f. Other function arguments which exceed the limits of the function.
6 < Overflow> The result of a calculation is too large to be represented in CAMBASIC
single– precision format. If underflow occurs, execution continues
without an error.
7 < Out of memory> A program is too large, or has too many loops, subroutines, and/or
variables; or has expressions that are too complicated to evaluate.
8 < Line/label not found> A nonexistent line number is referenced in an EDIT, DELETE,
REN UM , etc. statement.
9 < Subscript out of range> An array element is referenced, either w ith a subscript that is outside the
dimensions of the arr ay, or with the wrong number of subscripts.
10 < Array already dimensioned> Two D IM statem ents are given for the same ar ray; or a DIM statem ent is
given for an array after the default dimension of 11 has been established
for that array.
11 < Division by zero> A division by zero is encountered in an expression; or, the value zero has
been raised to a negative power. In the first case, the result is machine
infinity (with the appropr iate sign); in the second case, the result is
positive machine infinity.
Vedere la pagina 185
1 2 ... 181 182 183 184 185 186 187 188 189 190 191 ... 207 208

Commenti su questo manuale

Nessun commento