Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!equinox!jimi!brownie.cs.unlv.edu!grover From: grover@brownie.cs.unlv.edu (Kevin Grover) Newsgroups: comp.lang.c Subject: Re: to "OR" or not to "OR" Message-ID: <1991May28.210421.9656@unlv.edu> Date: 28 May 91 21:04:21 GMT References: <1991May28.191122.15749@ncsu.edu> Sender: news@unlv.edu (News User) Reply-To: grover@brownie.cs.unlv.edu (Kevin Grover) Organization: UNLV Computer Science and Electrical Engineering Lines: 25 In article <1991May28.191122.15749@ncsu.edu>, tmjones@eos.ncsu.edu (TOMMIE MILES JONES) writes: ) Ok folks this is a real stupid problem. ) I have a (don't laugh, I'm a poor broke college student) tandy 1000sx ) it is IBM compatible (suprise!) and run quick C ver 2.5 academic ver. ) (only $45 I told you I was cheap) ) this peice of sh-- will not allow me to write the OR symbol "|" ) it is on key 4 on the numeric key pad. I tried all different combinations ) of numlock and shift. it will just move the cursor or highlight the text. ) I'm tired of Demorgan's law (a | b= !(a & b)) isnt there a way to get around ) I read somewhere that C has taken into consideration that some machines do ) not have all the funky symbols and there are ways to get around. ) ) ) help me please This is not a problem with C, it is a problem with your machine. If it is IBM compatible, you should be able to get that symbol by holding the ALT key and typing the number 124 (the ASCII value for a | symbol), then releasing the ALT key. If all else fails, and your manauls don't help, contact Tandy. -- +-------------------------------------------------+----------------------+ | Kevin Grover UNLV Computer Science | Home of the | | grover@cs.unlv.edu Las Vegas, Nevada | Running REBELS | +-------------------------------------------------+----------------------+