MikroElektronika PIC Microcontrollers PIC16 Ficha de datos Pagina 34

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 194
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 193 194

Comentarios a estos manuales

Sin comentarios