to "OR" or not to "OR"

Kevin Grover grover at brownie.cs.unlv.edu
Wed May 29 07:04:21 AEST 1991


In article <1991May28.191122.15749 at ncsu.edu>, tmjones at 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 at cs.unlv.edu       Las Vegas, Nevada      |    Running REBELS    |
  +-------------------------------------------------+----------------------+



More information about the Comp.lang.c mailing list