Am 12.07.2017 16:08 schrieb "Bo Berglund" :
> To remove Count processed bytes from the beginning:
>
> Buffer: AnsiString;
>
> Delete(Buffer, 1, Count)
> or worse:
> Buffer := Copy(Buffer, Count+1, Length(Buffer));
FPC trunk supports Delete() and Insert() on dynamic arrays
On Wed, 12 Jul 2017 16:26:31 +0200 (CEST), Michael Van Canneyt
wrote:
>> Is it possible to overload Delete() so it can be called with TBytes as
>> argument?
>
>It is.
>
OK, then I am doing it erroneously
(Testing in Delphi XE5 at the moment, but trying to write it to
On 2017-07-12 15:19, Graeme Geldenhuys wrote:
ps #1:
I haven't tried documenting function results yet, so not sure what
FPDOC is going to do with that in this output.
I had a look at documenting function results. There seems to be a bug
(or place for improvement) in the HTML output. Even
On Wed, 12 Jul 2017, Bo Berglund wrote:
I would like to replace a buffer handling scheme in an old application
(written in Delphi) where the buffer was originally of type string and
later when unicode appeared changed to AnsiString.
But AnsiString also causes potential headaches so I would
I would like to replace a buffer handling scheme in an old application
(written in Delphi) where the buffer was originally of type string and
later when unicode appeared changed to AnsiString.
But AnsiString also causes potential headaches so I would like to get
rid of it altogether by using a
On Wed, 12 Jul 2017, Graeme Geldenhuys wrote:
Hi,
How do you document overloaded functions? In this case I have overloaded
functions that have different parameters (obviously), but also different
result types.
You can't. There are no provisions for this.
I usually make the differences
On Wed, 12 Jul 2017, Graeme Geldenhuys wrote:
As the subject line says. Do I simply create a ELEMENT take with the
function name and ".Result"? For example:
This is the function result documentation.
Or is there some other syntax?
This is the correct syntax.
Michael.
Hi,
How do you document overloaded functions? In this case I have overloaded
functions that have different parameters (obviously), but also different
result types.
I've been looking through the FPDoc PDF manual, but there is no explicit
information on this subject. But then, I could be
As the subject line says. Do I simply create a ELEMENT take with the
function name and ".Result"? For example:
This is the function result documentation.
Or is there some other syntax?
Regards,
Graeme
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal