Thread: int is useless
View Single Post
  #21  
Old 01-27-2009, 11:27 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by LoneAngelIbesu View Post
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

Quote:
2
4
16
(move() uses this)
__________________
Reply With Quote