Quote:
Originally Posted by Zetr0
hmmm I will test this later as I might be wrong but I do remember writing out the following syntax quite often.
for( int index =0; blah ; blah )
and if memory serves I would write this loop out a lot, when chunking data from FAST to CHIP
for( register int index =0; blah ; blah )
I used to use Dice / Lattice C as well as SAS - hmmm
|
Tested it. Doesn't work.
Code:
#include <stdio.h>
int main(int argc, char **argv)
{
for(int i=0; i<10; ++i)
printf("%d\n");
return 0;
}
SAS/C Amiga Compiler 6.58
Copyright (c) 1988-1995 SAS Institute Inc.
====================
for(int i=0; i<10; ++i)
foo.c 5 Error 218: declaration found in statement block