Friday, June 29, 2018

Operator Precedence

You can use X++ to create complex statements using multiple operators when
data types on all parts of the statements are equivalent. When multiple operators
are used in one statement, precedence for the operators must be in place for
statement evaluation. The following table lists the precedence for operators. The
highest precedence is at the beginning of the table; precedence gets lower as you
move down the table.
Operator Type Operator Syntax
postfix operators [] . (params) expr++ expr--
unary operators ++expr --expr +expr -expr ~ !
creation new (type)expr
multiplicative * /
additive + -
relational < > <= >=
equality == !=
bitwise AND &
shift << >>
bitwise exclusive OR ^
bitwise inclusive OR |
logical operators (AND, OR) && ||
conditional ? :
assignment = += -=

Best Regards,
Hossein Karimi

No comments:

Post a Comment

Configure the Firewall on the Enterprise Portal Server

After you install Enterprise Portal, enable Web Server (HTTP) in Windows Firewall. If you do not enable the web server in Windows Firewall...