On Sun, May 17, 2015 at 5:50 AM, Michael Van Canneyt wrote:
>
> Hello,
>
> As you probably know, it is possible to include source filename, line
> number, date etc. in your source
> with the following directives:
> {$I %FILENAME%}
> {$I %LINE%}
> {$i %DATE%}
>
> At my request, Florian added
>
> {
On 2015-05-17 14:23, Martin Frb wrote:
> Simply use $ProcedureName() in your template
>
>EnterSomething('$ProcedureName()');
That is what I've been using up to now, but is problematic if you switch
between IDE's or programmer editors to do coding (I do this often). At
least the new directive
On 2015-05-17 10:22, Florian Klämpfl wrote:
>
> A profiler should use debug info imo.
True, but the fpprofiler is a quick and easy one (though basic), if no
others are available.
Regards,
- Graeme -
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.n
On 17/05/2015 13:22, Vojtěch Čihák wrote:
Add I created code template for it: "icr" and it writes{$I
%CURRENTROUTINE%} itself :-)
Simply use $ProcedureName() in your template
EnterSomething('$ProcedureName()');
Of course it does not update if you rename the procedure, but otherwise
it
Add I created code template for it: "icr" and it writes {$I %CURRENTROUTINE%}
itself :-)
V.
__
Od: leledumbo
Komu:
Datum: 17.05.2015 13:54
Předmět: Re: [Lazarus] New preprocessor directive
At my request, Florian a
zarus.989080.n3.nabble.com/Lazarus-New-preprocessor-directive-tp4042241p4042246.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepas
On Sun, 17 May 2015, Florian Klämpfl wrote:
Am 17.05.2015 um 10:50 schrieb Michael Van Canneyt:
Hello,
At least it looks as ugly as possible so nobody will use this too much :)
Agreed that it is ugly, but indispensibe when programming webservers.
Michael.--
___
Am 17.05.2015 um 10:54 schrieb Graeme Geldenhuys:
> On 2015-05-17 09:50, Michael Van Canneyt wrote:
>> At my request, Florian added
>>
>> {$I %CURRENTROUTINE%}
>
> Oh wow, that will be super handy! (For the fpprofiler too.)
A profiler should use debug info imo.
--
___
Am 17.05.2015 um 10:50 schrieb Michael Van Canneyt:
>
> Hello,
>
> As you probably know, it is possible to include source filename, line number,
> date etc. in your source
> with the following directives:
> {$I %FILENAME%}
> {$I %LINE%}
> {$i %DATE%}
>
> At my request, Florian added
>
> {$I %C
On 2015-05-17 09:50, Michael Van Canneyt wrote:
> At my request, Florian added
>
> {$I %CURRENTROUTINE%}
Oh wow, that will be super handy! (For the fpprofiler too.) Many thanks
for that one.
Regards,
- Graeme -
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.so
Hello,
As you probably know, it is possible to include source filename, line number,
date etc. in your source
with the following directives:
{$I %FILENAME%}
{$I %LINE%}
{$i %DATE%}
At my request, Florian added
{$I %CURRENTROUTINE%}
to the list of possibilities, which means you can do nifty t
11 matches
Mail list logo