[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: INC/DEC behaviour
Hallo!
> I would like to see the INC/DEC type compatibility exactly the same
> as the statements:
>
> i:=i+j or i:=i-j
>
> where the types of i and j are such that both are integers and the
> type of j is an integer-compatible type.
From my personal view: Why not. Tis is the way I would understand DEC/INC
should function: As a shortcut. Does the language definition explicitely
stae the current oo2c behaviour?
> So far, I'm aware that the Oberon/F compiler allows the less
> restrictive form of the INC/DEC as proposed here. The ETH systems
> do not.
This would again be a reson for (another) portability flag.
--
Gru...
Tim.