Brightsign HD2000 BrightScript Reference Guide Manuel d'utilisateur Page 7

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 30
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 6
7
BrightScript> ?type(d)
rotFLOAT
Type Declaration Characters
Character Type Examples
$ String A$, ZZ$
% Integer A1%, SUM%
! Single-Precision (float) B!, N1!
# Double-Precision (double) A#, 1/3#
D Double-Precision ( exponential notation) 1.23456789D-12
E Single-Precision (exponential notation) 1.23456E+30
Operators
+ Add
- Subtract
* Multiply
/ Divide
^
exponentiation (e.g., 2^3 = 8)
+
concatenate
(string
together)
"2" + "2"= "22"
< is less than
> is greater than
= is equal to
< = or = < is less than or equal to
> = or = > is greater than or equal to
< > does not equal
NOT Not equal
AND Both must be true
OR Either one must be true
Order of Operations
Operations in the innermost level of parentheses are performed first, then evaluation proceeds to the next
level out, etc. Operations on the same nesting level are performed according to the following hierarchy:
Vue de la page 6
1 2 3 4 5 6 7 8 9 10 11 12 ... 29 30

Commentaires sur ces manuels

Pas de commentaire