GridControl-Team / GridControl

GridControl is a Free-to-play In-browser Social Massive-Multiplayer-Online Game, where you control your bot using a specialized stack-based language (called gridlang) and your github account. Your bot can roam the grid, gather resources, and attack/avoid other bots. The best code wins!
http://gridcontrol.freelancedreams.com/
8 stars 0 forks source link

IFTGOTO / IFFGOTO should check if value != 0, not value > 0 #31

Closed lessandro closed 11 years ago

sirpengi commented 11 years ago

So, the only false value would be 0? Negative values would also be treated as True?

lessandro commented 11 years ago

Just like C, C++, Javascript, and countless other languages.