[Oberon] Negative integer literals in Oberon
Chris Burrows
chris at cfbsoftware.com
Sat May 2 14:26:36 CEST 2020
> -----Original Message-----
> From: Oberon [mailto:oberon-bounces at lists.inf.ethz.ch] On Behalf Of Joerg
> Sent: Saturday, 2 May 2020 8:54 PM
> To: ETH Oberon and related systems
> Subject: Re: [Oberon] Negative integer literals in Oberon
>
> Yes and no.
> Addresses (as integers) do not exist in Oberon.
>
That is not true. Refer to Section 11.1 The Module System of the Oberon Language Report:
Function procedures:
Name: ADR(v)
Argument types: any
Result type: INTEGER
Function: address of variable v
Regards,
Chris Burrows
CFB Software
https://www.astrobe.com
More information about the Oberon
mailing list