Denso RC5 Dokumentacja Strona 547

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 692
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 546
Chapter 20 Preprocessor
20-3
#error (Preprocessor Statement)
Function
Forcibly generates a compiling error if the #error command is executed.
Format
#error [<Message>]
Explanation
Use this statement when you purposely want to generate an error to test a
program.
If you compile a line using the #error command, an error occurs.
At this time, an error message appears, showing the contents defined in
<Message>.
Example
#error “Error Occur” 'If compiling is executed, the message “Error Occur”
'appears.
Przeglądanie stron 546
1 2 ... 542 543 544 545 546 547 548 549 550 551 552 ... 691 692

Komentarze do niniejszej Instrukcji

Brak uwag