From: wcount12 AT aol DOT com (WCount12) Newsgroups: comp.os.msdos.djgpp Subject: Logical Operator Problem Lines: 23 NNTP-Posting-Host: ngpost-m2.news.aol.com X-Admin: news AT aol DOT com Date: 22 May 2002 20:13:34 GMT Organization: AOL, http://www.aol.co.uk Message-ID: <20020522161334.18792.00000036@mb-dd.aol.com> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I have loaded DJGPP compiler onto my system running Windows ME and using the Rhide interface. If I use the " || " (OR logical operator) I get the following error msg. "Error: stray ' \355' in program". If I use the " && " (AND logical operator) the program compiles without a problem. The simple program is below. #include int main() { int a = 12; if( a >= 4 || a <= 15) printf("A is valued between 4 and 15"); } Appreciate your help. Paul Warren