Книга: Advanced PIC Microcontroller Projects in C
6.1.3 IF-THEN-ELSE-ENDIF
6.1.3 IF-THEN-ELSE-ENDIF
Use IF, THEN, ELSE, and ENDIF keywords to describe the flow of control in a program.
Example:
IF switch = 1 THEN
Turn on LED 1
ELSE
Turn on LED 2
Start the motor
ENDIF
Оглавление статьи/книги
Похожие страницы
- if-else Statement
- if … else … elif … fi
- Условные операторы If .. Then.
- 3.3 Конструкция else-if
- File System Authentication and Access Control
- Authentication
- Choosing an Authenticated or Anonymous Server
- Основная форма If...Then
- 4.4.1. What Else Do I Need?
- 10.6.3. Tickets and Authenticators
- 10.6.4. Authenticated RPC
- Authentication with PPP