30.07.2013 Views

Visual Basic.NET How to Program (PDF)

Visual Basic.NET How to Program (PDF)

Visual Basic.NET How to Program (PDF)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A<br />

Opera<strong>to</strong>r Precedence<br />

Chart<br />

Opera<strong>to</strong>rs are shown in decreasing order of precedence from <strong>to</strong>p <strong>to</strong> bot<strong>to</strong>m with each level of<br />

precedence separated by a horizontal line. <strong>Visual</strong> <strong>Basic</strong> opera<strong>to</strong>rs associate from left <strong>to</strong> right.<br />

Opera<strong>to</strong>r Type<br />

^ exponentiation<br />

+<br />

-<br />

*<br />

/<br />

unary plus<br />

unary minus<br />

multiplication<br />

division<br />

\ integer division<br />

Mod modulus<br />

+<br />

addition<br />

-<br />

subtraction<br />

& concatenation<br />

=<br />

relational is equal <strong>to</strong><br />

<br />

relational is not equal <strong>to</strong><br />

<<br />

relational less than<br />

<br />

relational greater than<br />

>=<br />

relational greater than or equal <strong>to</strong><br />

Like<br />

pattern matching<br />

Is<br />

reference comparison<br />

TypeOf<br />

type comparison<br />

Fig. A.1 Opera<strong>to</strong>r precedence chart (part 1 of 2).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!