Re: [fpc-pascal] Delete and Add for TBytes?

2017-07-13 Thread Michael Schnell
On 12.07.2017 16:07, Bo Berglund wrote: I would like to instead use TBytes as container As a dynamic array (TBytes) does not support lazy copy, this might introduce some performance and other trouble. AFAIK, FPC's ANSISTring should not introduce any (Unicode) translations as long as you use t

[fpc-pascal] Convert to int64 note

2017-07-13 Thread james
I've been trying to get my programs to compile without any warnings or notes, but I keep getting this one: promill.pas(2137,42) Hint: Converting the operands to "Int64" before doing the subtract could prevent overflow errors. I get it a lot, but this is the line the above example is from: Last

Re: [fpc-pascal] FPDoc - how to document overloaded functions?

2017-07-13 Thread wkitty42
On 07/13/2017 06:30 AM, Michael Van Canneyt wrote: I'm not sure I understand what you're trying to achieve ? @graeme: maybe you could mock up what you are wanting/expecting from this particular situation? that way we (TINW) could compare the two and see the difference?? -- NOTE: No off-l

Re: [fpc-pascal] FPDoc - how to document overloaded functions?

2017-07-13 Thread Michael Van Canneyt
On Wed, 12 Jul 2017, Graeme Geldenhuys wrote: On 2017-07-12 15:06, Michael Van Canneyt wrote: You can't. There are no provisions for this. I usually make the differences clear in the node. Thanks Michael. I've been playing around with fpdoc and trying a few things and then reviewing th