www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/18/18:28:40

From: boyer AT cs DOT sc DOT edu (Daniel Boyer)
Newsgroups: comp.os.msdos.djgpp
Subject: for loop problem
Date: Sat, 18 Jan 1997 19:11:57 GMT
Organization: University of South Carolina - Columbia - Computer Science
Lines: 26
Message-ID: <32e11fa9.92123011@redwood.cs.sc.edu>
NNTP-Posting-Host: poplar.cs.sc.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Ok, can somebody please tell me what is wrong with this line of code:

	for(char SIX = 'a'; SIX < '}'; SIX++)
	{
	.....
	}

I keep getting a "parse error before ; "  and if has to be in this
line of code (there are only about three lines before it and they ARE
correct.  I have a number of lines like this one in the program and
all of them are getting this error?   What am I over looking?

	Daniel Boyer
-----
Daniel Boyer
boyer AT cs DOT sc DOT edu

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2

mQCNAzLVlk4AAAEEAM+okxZsxsVtYBi7yAYj1G6eiKy3WFR8muG/WnteshJKGg53
XWaEiroqEKI4FkwAlFfY8/vwXyFClCMu++WHwFBms5Ik7Z1bhyhRgP9XoyPQ8ZAY
pYdoMr9g0KzDm3acCCTsZ4HbSgLJfBOzubO5ZjgFTi5eVyENSfVAKDiExlSRAAUR
tCFEYW5pZWwgUC4gQm95ZXIgPGJveWVyQGNzLnNjLmVkdT4=
=SBeX
-----END PGP PUBLIC KEY BLOCK-----

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019