MikroElektronika PIC Microcontrollers PIC16 Manuel d'utilisateur Page 42

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 172
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 171 172

Commentaires sur ces manuels

Pas de commentaire