Denso Power Net Terminal BHT-7500 Specifikace Strana 221

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 560
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 220
Chapter 14. Statement Reference
212
When calling a user-defined function
Run-time errors:
Example:
DEF FNappend$(a$,b%)[128]
C$=""
FOR i%=1 TO b%
C$=C$+a$
NEXT
FNappend$=C$
END DEF
PRINT FNappend$("AB",3)
Error code and message Meaning
error 68: Mismatch
argument type
or number
The number of the real parameters is
not equal to that of the dummy
parameters.
dummyparameter was an integer
variable in defining a function, but
realparameter is a real type in
calling the function. (If
dummypa-
rameter
was a real variable in
defining a function and
realpa-
rameter
is an integer type, then no
error occurs.)
error 69: Function
undefined
Calling of a user-defined function pre-
cedes the definition of the function.
Error code Meaning
07h
Insufficient memory space
(You nested
DEF FN statements to more than 10 levels.)
0Dh END DEF out of the DEF FN block
0Fh
String length out of the range
(The returned value of
stringlength exceeds the allowable
range.)
ABABAB
Zobrazit stránku 220
1 2 ... 216 217 218 219 220 221 222 223 224 225 226 ... 559 560

Komentáře k této Příručce

Žádné komentáře