Ocean-optics Jaz Scripting Language and Scripting Engine Manuale Utente Pagina 13

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 74
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
Vedere la pagina 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 73 74

Commenti su questo manuale

Nessun commento