delorie.com/archives/browse.cgi | search |
From: | Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: if |
Date: | 4 Nov 2002 11:54:12 GMT |
Organization: | Aachen University of Technology (RWTH) |
Lines: | 17 |
Message-ID: | <aq5n54$nrd$1@nets3.rz.RWTH-Aachen.DE> |
References: | <3dc54df2_2 AT mk-nntp-2 DOT news DOT uk DOT tiscali DOT com> |
NNTP-Posting-Host: | acp3bf.physik.rwth-aachen.de |
X-Trace: | nets3.rz.RWTH-Aachen.DE 1036410852 24429 137.226.32.75 (4 Nov 2002 11:54:12 GMT) |
X-Complaints-To: | abuse AT rwth-aachen DOT de |
NNTP-Posting-Date: | 4 Nov 2002 11:54:12 GMT |
Originator: | broeker@ |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
James Patterson <jp20 AT tinyworld DOT co DOT uk> wrote: > Why would the DJGPP compiler give this error message "stray '\335' in > program" for this line "if((x == 20) || (i == 90))" Thanks in advance. Trust the poster to be from the UK whenever this particular issue comes up... ;-) For some insane reason, the UK mapping for PC keyboards has *two* keys that produce a vertical bar: one has a break in the middle, the other doesn't. Use the other one and you'll be happy. \335 is character code 221 (you get that by pressing Alt-<2 2 1>). The proper ASCII code for | is 124. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |