A-Z Reference


Operator

Description

*          

Multiplies two numbers

+          

Adds two numbers or returns the positive value of a numeric expression. Can also be used to concatenate two string expressions

-          

Returns the difference between two numeric expressions or the negative value of a numeric expression

/          

Divides two numbers and returns a floating-point result

<          

'Less than' operator

<=         

'Less than or equal to' operator

<>         

'Not equal to' operator

=          

'Equal to' or assign operator (when x is a left-value variable)

>          

'Greater than' operator

>=          

'Greater than or equal to' operator

\          

Divides two numbers and returns an integer result

^          

Raises a number to the power of another number

And

Performs a logical conjunction on two Boolean expressions

bAnd  

Returns a one in each bit position for which the corresponding bits of both operands are ones

bOr     

Returns a one in each bit position for which the corresponding bits of either or both operands are ones

bShl        

Shifts x in binary representation y bits to the left, shifting in zeros from the right

bShr       

Shifts x in binary representation y bits to the right, discarding bits shifted off

bXor      

Returns a one in each bit position for which the corresponding bits of either but not both operands are ones

Div   

Divides two numbers and returns an integer result

Mod    

Divides two numbers and returns only the remainder

Or    

Performs a logical conjunction on two Boolean expressions

Xor   

Performs a logical exclusion on two Boolean expressions

 

Comments