while (itemsactive = 1) ??? This loop never ends!

indentation right:

Code:
while (1)
{
   if (something == 1)
   {
      do_my_code
   }
}



indentation false:

Code:
while (1)
{
if (something == 1)
{
do_my_code
}
}



if you make the indentation then your code is much easier to read.

EDIT: you was faster wink

Last edited by Widi; 05/23/10 16:08.