| Приоритеты операций в разных языках (сверху вниз) |
1 |
| C++ Builder Visual C++ .NET |
Visual C# .NET С# Builder |
Jscript JavaScript |
Visual J# Java |
PHP |
Perl |
Visual Basic.Net |
VBScript |
Delphi |
PL\SQL |
Transact-SQL |
VFP |
| :: |
. () [] new typeof checked unchecked ++x --x |
. ( ) [ ] |
x++ x-- |
new |
[ ] ( ) |
( ) |
-x |
@ not |
|
-x +x ~x |
( ) |
| . -> |
+x -x !x ~x ++x --x (тип) |
+x -x !x ~x ++x --x delete new typeof void |
++x --x ~x !x |
[ ] |
-> |
^ |
^ |
* / div mod shl shr as and |
|
* / % |
** ^ |
| [ ] ( ) type() typeid() x++ x-- |
* / % |
* / % |
(тип) |
! ~ ++ -- @ (тип) |
++ -- |
-x |
* / |
+ - or xor |
|
+ - & |
* / |
| dynamic_cast static_cast const_case reinterpret_cast |
+ - |
+ - |
* / % |
* / % |
** |
* / |
\ |
= <> < <= => > in is |
|
= > < >= <= <> != !> !< |
% |
| sizeof (тип) &x *x ++x --x new ~ ! Delete +x -x casting ^ |
<< >> |
<< >> >>> |
+ - |
+ - . |
+x -x ~x !x \x |
\ |
mod |
:= |
|
^ | |
+ |
| .* ->* |
< <= >= > is as |
< <= >= > instance of |
<< >> >>> |
<< >> |
=~ !~ * / % x |
mod |
+ - |
|
|
not |
- |
| % * / |
== != |
== != === !== |
< <= >= > |
<= < > >= |
+ - . << >> |
+ - |
& |
|
|
and |
$ |
| + - |
& |
& |
== != |
== != === !=== |
|
& |
= <> |
|
|
all any in between like or some |
< > = <> # != <= >= == |
| << >> |
^ |
^ |
& |
& |
< > <= >= et gt le gt |
<< >> |
< <= >= > = |
|
|
= |
not ! |
| < <= >= > |
| |
| |
^ |
^ |
== != <:> eg he cmp |
< <= >= > = <> |
is |
|
|
|
and |
| == != |
&& |
&& |
| |
| |
& | ^ |
Like Is TypeOf..Is |
not |
|
|
|
or |
| & |
|| |
|| |
&& |
&& |
&& || |
Not |
and |
|
|
|
|
| ^ |
?: |
?: |
|| |
|| |
.. … |
And AndAlso |
or |
|
|
|
|
| | |
= *= /= %= += -= ~= <<= >>= &= ^= != |
= *= /= %= += -= &= ^= >>>= |
?: |
?: |
?: |
Or OrElse |
xor |
|
|
|
|
| && |
|
, |
= *= /= %= += ~= <<= >>= &= ^= != >>>= |= |
= .= *= /= %= += |= ^= <<= >>= &&= ||= |
= **= += -= .= *= /= %= x= |= ^= <<= >>= &&= ||= |
Xor |
egv |
|
|
|
|
| || |
|
|
|
print |
, => |
|
imp |
|
|
|
|
| ? |
|
|
|
and |
|
|
& |
|
|
|
|
| = *= /= %= += -= <<= >>= &= ^= /= |
|
|
|
xor |
not |
|
|
|
|
|
|
| throw |
|
|
|
or |
and |
|
|
|
|
|
|
| , |
|
|
|
, |
xor or |
|
|
|
|
|
|