Quote:
Originally Posted by LoneAngelIbesu
I've never noticed that kind of syntax in GS2 (single ampersand)...
|
It's very practical
PHP Code:
function onCreated() {
temp.bit = 2+4+16;
if (bit & 2) echo("2");
if (bit & 4) echo("4");
if (bit & 8) echo("8");
if (bit & 16) echo("16");
}
Echoes
(
move() uses this)