MikroElektronika PIC Microcontrollers PIC16 Manual de usuario Pagina 42

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 172
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 41
mikroBASIC
- Basic Compiler for Microchip PIC microcontrollers
const MaxAllowed = 234
const K_a = -32766
const Max = 1000
if teA > Max then teA = teA - 100
teC = teC + Min
' Constants can be used in any expression
const 7time = 123
' Wrong constant name, it must be
' a valid identifier
const Max = 1123456
' Assigned value exceeds the allowed
' range for integer
Max = A
Max = 123
' You cannot assign new value to a constant,
' compiler will report an error
MikroElektronika:
Development
tools
-
Books
-
Compilers
mikroBASIC
making it simple...
37
page
Examples
Examples of
invalid use
Vista de pagina 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 171 172

Comentarios a estos manuales

Sin comentarios