> What you are describing is not valid C. C requires that all variable
> declarations be at the beginning of a block before any other statements.
some compilers allow it.. althought it is not supported by gcc as
i know it.. i dont know about CW.. but if in doubt.. you can always
make a block statement inside your code:
int x;
x = 10;
{
int y;
y = x + 10;
}
is perfectly valid too.
time to catch up on your C! :>
az.
--
Aaron Ardiri
Lecturer http://www.hig.se/~ardiri/
University-College i G�vle mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN
Tel: +46 26 64 87 38 Fax: +46 26 64 87 88
Mob: +46 70 656 1143 A/H: +46 26 10 16 11