View Single Post
Old 11 September 2016, 17:22   #82
alkis
Registered User
 
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 719
Quote:
Originally Posted by Zetr0 View Post
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
alkis is offline  
 
Page generated in 0.04253 seconds with 11 queries