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


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

Re: Multichar tokens

From Knute Johnson <nospam@rabbitbrush.frazmtn.com>
Newsgroups comp.lang.java.programmer
Subject Re: Multichar tokens
Date 2016-08-13 22:27 -0700
Organization A noiseless patient Spider
Message-ID <noovgg$j2a$1@dont-email.me> (permalink)
References <tokens-20160813225403@ram.dialup.fu-berlin.de>

Show all headers | 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