Which keystroke do you press for the OR logical operator?

F

Fred

I'm a newbie 1st University student learning Java, and I've become
stuck on the next hurdle, after working out the Path command in
Windows 2000 :D. Which key do I press to get the straight line you
need for the OR logical operator? Any help would be greatly
appreciated.
 
S

Shawn McDermott

| is the "unix pipe" key. look above (at least on my keyboard) the
backslash key. shift - backslash will give you |

for the OR put 2 ||

my backslash and pipe key is located above the enter key.

good luck.
Shawn
 
T

Tor Iver Wilhelmsen

Which key do I press to get the straight line you need for the OR
logical operator? Any help would be greatly appreciated.

On my keyboard it's the one left of 1 on the top row.
 
E

EvErEady

Hi!

If you use Windows, go to Start > Programs > Accessories > System Tools >
Character Map

Select, copy and paste the characters into your code.

-EvErEady
 
P

pete kirkham

Tor said:
On my keyboard it's the one left of 1 on the top row.

On UK PC it's to the right of the left shift key; on UK Mac it's above
the right shift.

The real killer when I first got my Mac was finding the # (Alt-3, not
marked on the key top, shift-3 is £). Key Caps is a wonderful thing once
you find it.


Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,731
Messages
2,569,432
Members
44,832
Latest member
GlennSmall

Latest Threads

Top