Operators

www.altova.com Imprimer cette rubrique Page précédente Un niveau supérieur Page suivante

Accueil >  Manuel de l'utilisateur et référence > Code Generator > SPL (Spy Programming Language) >

Operators

Operators in SPL work like in most other programming languages.

 

List of SPL operators in descending precedence order:

 

.Access object property
(  ) Expression grouping
trueboolean constant "true"
false boolean constant "false"

 

& String concatenation

 

-Sign for negative number
not Logical negation

 

*Multiply
/ Divide
% Modulo

 

+Add
- Subtract

 

<=Less than or equal
< Less than
>= Greater than or equal
> Greater than

 

=Equal
<> Not equal

 

and Logical conjunction (with short circuit evaluation)
or Logical disjunction (with short circuit evaluation)

 

= Assignment

© 2018 Altova GmbH