Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #35315

Re: Multichar tokens

Path csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Knute Johnson <nospam@rabbitbrush.frazmtn.com>
Newsgroups comp.lang.java.programmer
Subject Re: Multichar tokens
Date Sat, 13 Aug 2016 22:27:44 -0700
Organization A noiseless patient Spider
Lines 14
Message-ID <noovgg$j2a$1@dont-email.me> (permalink)
References <tokens-20160813225403@ram.dialup.fu-berlin.de>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 8bit
Injection-Date Sun, 14 Aug 2016 05:27:44 -0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="fc10d1b501433caa198830294d826923"; logging-data="19530"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+/QPiVSCeKcuocqy6/OA12"
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
In-Reply-To <tokens-20160813225403@ram.dialup.fu-berlin.de>
Cancel-Lock sha1:pNRUVz4hX8DcA+XOm6J88/1MDGk=
Xref csiph.com comp.lang.java.programmer:35315

Show key headers only | View raw


On 8/13/2016 15:05, Stefan Ram wrote:
>   In Java, »- -2« must be written as »- -2« and not as »--2«,
>   because there also is a special »--« operator. So, when one
>   does want two consecutive unary minus operators, one needs to
>   separate them by white space. This also applies to »+«.

For clarity alone you would write - -2 as + 2 anyway.

Are your >> << symbols (that I don't know how to make) supposed to be >> 
and << or are they supposed to be some sort of quote?

-- 

Knute Johnson

Back to comp.lang.java.programmer | Previous | Next | Find similar | Unroll thread


Thread

Re: Multichar tokens Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2016-08-13 22:27 -0700

csiph-web