| |
| |
|
 | § 7 - Operators
| + | addition
| | ++ | Increment
| | += | Increment circa X
| | - | Subtraktion
| | -- | Decrement
| | -= | Decrement circa X
| | * | Multiplikation
| | / | Division
| | \ | Division (ganzzahlig)
| | % | Modulo (Divisionsrest)
| | ^ | Potenz
| | | | or (binary)
| | || | or (logical)
| | & | and (binary)
| | && | and (logical)
| | ! | NOT
| | << | bitshift left
| | >> | bitshift right
| | < | small
| | <= | small same
| | > | larger
| | >= | larger same
| | <> | mismatched
| | != | mismatched
| | = | worth-Zuweisung
| | == | same (comparison)
| | === | utterly same (comparison whether worth and type coincide)
| | ?: | Ternärer Operator, a==b?10:20, if a same b is, then 10 otherwise 20.
| | | Space-Operator (Freizeichen), really no Operator separate a spoke/ Syntaxeigenschaft, näheres moreover under: [...] 
|
|
|
| |
| |
| |
|
|
 | | 2 new Operators: << and >> |
|
| |
| |
| |
|
|
 Michael W. | iF (01.12.14)
Virtually as it itself heard, or have I something forget?
iDIV ?, ( 5 \ 3) == 1 Modulo ?, (5 mod 3) == 2 Potenz **, (4 ** 3) == 64
with iDiv and Mod wüßt I no characters, if Backslash not uses go should. |
|
| |
| XProfan X3System: Windows 8/10, XProfan X4 Programmieren, das spannendste Detektivspiel der Welt. | 12/02/14 ▲ |
|
| |
|
|
 | Modula is already, %.
Potenz missing Yes everywhere one Operator means remaining vlt. How in c the pow.
iDIV could I \ offer, Backslashes are too no trouble. |
|
| |
| |
| |
|
|
 Michael W. | | ...and with Potenzen becomes often the double star using, How supra already written. then wären Yes any "eingetütet". |
|
| |
| XProfan X3System: Windows 8/10, XProfan X4 Programmieren, das spannendste Detektivspiel der Welt. | 12/02/14 ▲ |
|
| |
|
|
 | | I faith Roland takes ^, what find You rather? |
|
| |
| |
| |
|
|
 Michael W. | One single characters is rather, means (4^3) == 64. its too verständlicher, there it Yes 4 high 3 spoken becomes. |
|
| |
| XProfan X3System: Windows 8/10, XProfan X4 Programmieren, das spannendste Detektivspiel der Welt. | 12/02/14 ▲ |
|
| |
|
|
 | | find so did i, make we so. |
|
| |
| |
| |
|
|
 | |
| |
| |
| |
|
|
 | now is even the following possible:
c=0
d=1
print d+ ++c
//gives 2 from and c has here the value 1
|
|
| |
| |
| |
|
|
 | I faith there's yet in yet none Programming-Language a Vergleichsoperator bestehend from 4 Gleichheitszeichen.
In AndroidProfan yet:
= Zuweisung == Wertevergleich === values and Typenvergleich
well then my idea: 4 Gleichheitszeichen Operator:
==== Typenvergleich
supply whom Wertetyp the left Page the Argumentes.
in example
var a=10 print(a====) //spending: long
or
if (a====long) ...
Gegenstellen could one naturally a function z.B. namens "typeof" or "type" - there tendiere I there withal the imho quite a lot interessanten invention the 4 Gleichheitszeichen.
what means the community? |
|
| |
| |
| |
|
|
 | @Michael:
have time obigsten Posting scheduler on The einfachere Beitragssytax umgestellt lane of HTML. |
|
| |
| |
| |
|