Affichage des articles dont le libellé est Eine etwas andere if Abfrage !. Afficher tous les articles
Affichage des articles dont le libellé est Eine etwas andere if Abfrage !. Afficher tous les articles

jeudi 14 juillet 2016

Eine etwas andere if Abfrage !

jeudi 14 juillet 2016 0
Hallo ich wollte das abkürzen :
if ((x+1 == tx ^ x == tx ^ x-1 == tx) && (y+1 == ty ^ y == ty ^ y-1 == ty)){this.geheZufällig();};

in das :

if ((x^++x^--x)==tx && (y^++y^--y)==ty){this.geheZufällig();};

Fehler im Code gibt es nicht jedoch funktioniert der untere nicht!

Eine etwas andere if Abfrage !
 
◄Design by Pocket