Jürgen Hestermann schrieb:

 > If I just want a counter, I will just use "integer").

I always use LongInt because when using integer I am not sure what range of
numbers I will get. Who knows what special command line or compiler
switche changes this to 16 bit or even less. Then my program would
not work anymore. I have to makes sure that my expectations to a
certain data type are correct all the time.

IMO it's sufficient when your code continues to work in future time, with integers of possibly higher, but never of lower precision.

DoDi


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to