Supported Operators

v7.9 and earlier

These are the operators that you can use  in Sequence expressions.

Operator Type
Examples
Supported Operators
Unary
  • -x
  • !x (not x)
Multiplicative
  • x * y
  • x / y
  • x % y (x mod y)
Additive
  • x + y
  • x - y
  • x & y (string concatenation)
Relational
  • x < y
  • x > y
  • x <= y
  • x >= y
Equality
  • x == y (x = y)
  • x! = y (x <> y)
Conditional
  • x && y (x and y)
  • x || y (x or y)
  • x ? y : z

v7.10 and later

These are the operators that you can use  in Sequence expressions.

Operator Type
Examples
Supported Operators
Unary
  • -x
  • !x (not x)
Multiplicative
  • x * y
  • x / y
  • x % y (x mod y)
Additive
  • x + y
  • x - y
  • x & y (string concatenation)
Relational
  • x < y
  • x > y
  • x <= y
  • x >= y
Equality
  • x == y (x = y)
  • x! = y (x <> y)
Conditional
  • x && y (x and y)
  • x || y (x or y)
  • x ? y : z
Null-Conditional
You can use Null-Conditional operators to test for null before performing a member access (?.) or index (?[) operation.
For example:
{Form1}?.Query("UACT1").Last()?.Field("fldId")
This example returns 0 if Form1 is null or there are no records in UACT1 query.
About this Article
  • Created: 05/23/2017 7:32 am EDT
  • Last updated: 05/23/2017 7:49 am EDT
In This Article