Skip to content
Back to formatted view

Raw Message

Message-ID: <971536df0911161652v581ab6c7w33c8c2ce08ceeebf@mail.gmail.com>
Date: 2009-11-17T00:52:00Z
From: Gabor Grothendieck
Subject: Where are usages like "== 2L" documented?
In-Reply-To: <4B01ED92.2070907@stats.uwo.ca>

On Mon, Nov 16, 2009 at 7:25 PM, Duncan Murdoch <murdoch at stats.uwo.ca> wrote:
> On 16/11/2009 6:47 PM, Steven McKinney wrote:
>>
>> ?NumericConstants
>>
>> will bring up a help page that mentions
>> "All other numeric constants start with a digit or period and are either a
>> decimal or hexadecimal constant optionally followed by L."
>>
>> and
>>
>> "An numeric constant immediately followed by L is regarded as an integer
>> number when possible (and with a warning if it contains a "."). "
>>
>> but I haven't found discussion of it anywhere else in the help pages.
>> Others may know what other help pages discuss this.
>>
>> I'm surprised that the help page invoked from
>> ?integer
>> does not discuss this. ?Anyone know why not?
>
> This is part of the syntax of the language. ?It has nothing to do with the
> integer() function, which is what ?integer is asking about.

It might be useful to have a SeeAlso to NumericConstants on that help
page for those who looked up ?integer thinking it might be about
integer constants.