Denso BHT-200QW Dokumentacja Strona 325

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 587
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 324
Chapter 15. Function Reference
317
____________________________________________________________________
ERror Line Error-handling function
ERL
Returns the current statement location of the program where a run-time error occurred.
____________________________________________________________________
Syntax:
Syntax:Syntax:
Syntax:
ERL
Description:
Description:Description:
Description:
ERL returns the current statement location of the program where a run-time error occurred
most recently.
• The ERL function works only with line numbers and not with labels.
The returned value is in decimals, so it may be necessary to use the HEX$ function for
decimal-to-hexadecimal conversion when using the ERL function in error-handling
routines.
If converted from decimals to hexadecimals with the HEX$ function, addresses which the
ERL returns correspond to ones that are outputted to the left end of the address-source
list in hexadecimal (which may be printed out if a +L option is specified in compilation).
• Since the ERL function returns a significant value only when a run-time error occurs, you
should use this function in error-handling routines where you can check the error type
for effective error recovery.
Reference:
Reference:Reference:
Reference:
Statements: ON ERROR GOTO and RESUME
Functions: ERR and HEX$
Przeglądanie stron 324
1 2 ... 320 321 322 323 324 325 326 327 328 329 330 ... 586 587

Komentarze do niniejszej Instrukcji

Brak uwag