MikroElektronika PIC Microcontrollers PIC16 Datový list Strana 34

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 194
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 33
Programming PIC Microcontrollers in BASIC - mikroElektronika
Chapter 4: Control Structures
Introduction
4.1 Conditional Statements
4.1.1 IF..THEN Statement
4.1.2 SELECT..CASE Statement
4.1.3 GOTO Statement
4.2 Loops
4.2.1 FOR Statement
4.2.2 DO..LOOP Statement
4.2.3 WHILE Statement
4.3 ASM Statement
Introduction
Statements define algorithmic actions within a program. Simple statements - like assignments and
procedure calls - can be combined to form loops, conditional statements, and other structured
statements.
Simple statement does not contain any other statements. Simple statements include assignments, and
calls to procedures and functions.
Structured statements are constructed from other statements. Use a structured statement when you
want to execute other statements sequentially, conditionally, or repeatedly.
4.1 Conditional Statements
Conditional statements are used for change the flow of the program execution upon meeting a certain
http://www.mikroelektronika.co.yu/english/product/books/picbasicbook/04.htm (1 sur 9)05/11/2004 02:15:36
Zobrazit stránku 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 193 194

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

Žádné komentáře