Export (0) Print
Expand All
Expand Minimize

2.1.889 Part 4 Section 3.17.2.2, Operators

a. The standard does not specify the productions for operator using EBNF.

Office writes the productions for operator using the following EBNF:

operator=
  ":"  |  comma  |  space  |  "^"  |  "*"  |  "/"  |  "+"  |  "-"
  |  "&"  |  "="  |  "<>"  |  "<"  |  "<="  |  ">"  |  ">="  |  "%"  ;
infix-operator=
  ":"  |  comma  |  space  |  "^"  |  "*"  |  "/"  |  "+"  |  "-"  |  "&"
  |  "="  |  "<>"  |  "<"  |  "<="  |  ">"  |  ">="  ;
postfix-operator=
  "%"  ;
prefix-operator=
  "+"  |  "-";

b. The standard states that an expression with value 0 tests logically false while one with any nonzero value tests true.

In Office, an expression with value 0 tests logically false while one with any nonzero numeric value tests true.

Show:
© 2014 Microsoft