This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v19
Operators and values
|
Data types | Values | Operators | ||||||||||
Number |
|
| ||||||||||
Date | 10/24/2017 |
| ||||||||||
Time | 10:12:10 | Duration operators:
| ||||||||||
String | 'Sophie' or "Sophie" |
| ||||||||||
Boolean | TRUE or FALSE | - |
The following operators can be used with two operands of the same type:
Operator | Comparison |
= | equal to |
<> | different than |
> | greater than |
< | less than |
>= | greater than or equal to |
<= | less than or equal to |
List of operators from most to least important:
Operator | Description |
() | Parenthesis (for grouping) |
- | Negate |
+ | Plus |
% | Percent |
^ | Exponent |
* and / | Multiply and divide |
+ and - | Add and Substract |
& | Concatenate |
= > < >= <= <> | Compare |
When two or more different operands have the same name, 4D View Pro determines the type of each element according to the following order:
Priority | Element type |
1 | Cell reference |
2 | Cell name |
3 | 4D View Pro function |
4 | Project method |
5 | 4D command |
6 | Variable |
Product: 4D
Theme: 4D View Pro Formulas
4D View Pro Reference ( 4D v19)