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..255        Byte
32768..65535    Word
2147483648..4294967295  Cardinal (longword)


Those should be 0..<max_value>


Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to