[Lazarus] Does Lazarus have file name and line number macros for inserting into DebugLn/WriteLn statements?

Lukasz Sokol el.es.cr at gmail.com
Fri Oct 7 14:16:59 CEST 2011


On 07/10/2011 11:10, Frank Church wrote:
> 
> 
> On 6 October 2011 14:14, Howard Page-Clark <hdpc at talktalk.net
> <mailto:hdpc at talktalk.net>> wrote:

> There is already $ProcedureName() you can use in a code template (see
> Tools->Code Templates).
> 
> 
> I am using 0.9.30 and it is not on the menu. Do you have an example
> of the syntax to be used in source code?
>

On my Lazarus therre is Environment -> Code Templates, but yes there is no
$ProcedureName() in the default Lazarus.dci (C:\lazarus\ide\lazarus_dci_file.dci,
as installed from the zipped installer) - d+[Ctrl+j] expands to debugln(['test ']);

Lukasz
 
> 
> -- Frank Church
> 





More information about the Lazarus mailing list