Re: [fpc-pascal] Documentation bug - Language Ref - Ordinal types

2020-12-27 Thread Graeme Geldenhuys via fpc-pascal
On 27/12/2020 4:53 pm, Graeme Geldenhuys via fpc-pascal wrote: > > According to this HTML page: >https://freepascal.org/docs-html/ref/refsu4.html Oh wait, the table I was looking at is titled "Integer constant type mapping", so it's how the compile maps constants to a data type. It's not the

[fpc-pascal] Documentation bug - Language Ref - Ordinal types

2020-12-27 Thread Graeme Geldenhuys via fpc-pascal
According to this HTML page: https://freepascal.org/docs-html/ref/refsu4.html The data types Byte, Word and Cardinal (LongWord) has the following ranges: 128..255Byte 32768..65535Word 2147483648..4294967295 Cardinal (longword) Those should be 0.. Regards, Graeme -- fpGUI