Am 2013-11-18 15:44, schrieb Frederic Da Vitoria:
2013/11/18 John Landmesser <[email protected] <mailto:[email protected]>>


    Perhaps it's more "usual" if you change the "out" Parameters to word?


Yes, it would be more usual, but since you seem interested, I will try to create a 
"signed version, which will of course return signed values.


Maybe it's better to use an additional boolean parameter (named "negative"?) to 
indicate that the dates are reversed
and keep the other values all positive.
Otherwise it would be difficult to find out that the dates are interchanged
because you have to check *all* other integer values as some may be zero.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to