Article View: aus.computers.java
Article #791Re: Can't find the symbols for logical "OR" on my keyboard!
From: Jon A. Cruz
Date: Tue, 18 Apr 2000 00:00
Date: Tue, 18 Apr 2000 00:00
33 lines
2181 bytes
2181 bytes
Mark Jones wrote: > I know this sounds really stupid but I've just started teaching myself Java > a month ago and I cannot find the symbols for logical "OR" on my keyboard so > obviously I cannot program properly in Java. > > I am using a UK keyboard (if that makes any difference) and I have also > tried setting up for US but no joy. > > Please help me with this trifling but annoying problem. > > reply to markjones0@nospam.breathemail.net removing nospam. > > Thanks. (follow-ups trimmed) 1) Don't send to so many newsgroups. Find the one or two that are most appropriate and just post to those. 2) a work-around you can use is to just use Unicode escapes. The language spec has those being processed before any language tokenizing goes on. boolean test = true \u007c false; System.out.println( "The test was " + test ); is the same as boolean test = true | false; System.out.println( "The test was " + test ); (or you can just copy and paste).
Technical Details
Message-ID:
<38FCE18F.AFEB7A9F@geocities.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<38fcde24$1_3@news1.vip.uk.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1060d7,45a953579bab5c86 X-Google-Attributes: gid1060d7,public X-Google-Thread: 113ae9,45a953579bab5c86 X-Google-Attributes: gid113ae9,public X-Google-Thread: 107d55,45a953579bab5c86 X-Google-Attributes: gid107d55,public X-Google-Thread: 113bde,45a953579bab5c86 X-Google-Attributes: gid113bde,public X-Google-Thread: 10d6db,45a953579bab5c86 X-Google-Attributes: gid10d6db,public X-Google-Thread: f5d71,45a953579bab5c86 X-Google-Attributes: gidf5d71,public X-Google-Thread: 10a146,45a953579bab5c86 X-Google-Attributes: gid10a146,public From: "Jon A. Cruz" <joncruz@geocities.com> Subject: Re: Can't find the symbols for logical "OR" on my keyboard! Date: 2000/04/18 Message-ID: <38FCE18F.AFEB7A9F@geocities.com> X-Deja-AN: 612887450 Content-Transfer-Encoding: 7bit References: <38fcde24$1_3@news1.vip.uk.com> X-Accept-Language: en Followup-To: microsoft.public.java,comp.lang.java.help Content-Type: text/plain; charset=us-ascii MIME-Version: 1.0 Newsgroups: aus.computers.java,comp.lang.java,comp.lang.java.help,comp.lang.java.programmer,comp.lang.java.tech,microsoft.public.java,microsoft.public.java.sdk