MikroElektronika PIC Microcontrollers PIC16 Manuale Utente Pagina 42

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 172
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la 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
Vedere la pagina 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 171 172

Commenti su questo manuale

Nessun commento