Operators in SPL work like in most other programming languages.

List of SPL operators in descending precedence order:

. | Access object property |

( ) | Expression grouping |

true | boolean 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 |

© 2019 Altova GmbH