Ocean-optics Jaz Scripting Language and Scripting Engine Manuel d'utilisateur Page 13

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 74
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 12
2: Jaz Scripting Engine Architecture
013-RD000-000-12- 201010 5
TEXT Literals
A literal of type text may need to have carriage returns inserted within them to make screen text readable.
For example, to have the string
Test1Test2Test3 show up on separate lines, insert the '$' character
wherever a new line is desired. Internally, the scripting engine inserts the carriage returns as in
Test1$Test2$Test3.
Arithmetic
The scripting engine supports simple algebraic expressions including parenthesis nesting, unary minus
(negation), and +,-./,*. It does not support nested functions in expressions since scripting functions do not
return a value. This is in keeping with the BASIC language paradigm.
Assignment: MyIntegerVariable := (2 * (MyPixel[J] - BIAS/100)), where := is the
assignment operator.
Evaluation: IF(MyVariable1 = MyVariable2) GOTO RESET, where = is the boolean
comparison operator. Please note that
:= and = are not interchangeable.
Operators
Symbol Name Type
+ Addition Arithmetic
- Subtraction Arithmetic
/ Division Arithmetic
* Multiplication Arithmetic
() Parenthesis nesting Arithmetic
-() Negation of a quantity Arithmetic
[] Array Element Indexing
= Equals Boolean
<> Not Equals Boolean
>= Greater than or equal Boolean
<= Less than or equal Boolean
Vue de la page 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 73 74

Commentaires sur ces manuels

Pas de commentaire