View Single Post
Old 04-06-2007, 10:53 PM   #17826
Trumgottist
Game Creator Hobbyist
 
Trumgottist's Avatar
 
Join Date: Nov 2003
Location: Stockholm (or Gotland)
Posts: 2,609
Default

You forgot a brace there. One have to be careful with those things, or you might accidentally create an infinite loop.

while (1) { printf("Shut up.\n");
if (up.shut()) break;
}
__________________
Play my game: Frasse and the Peas of Kejick. The Special Edition is now available! (Mac OS X or Windows.)
Trumgottist is offline