you can get to it through getPageContext(). <cfset c = getpagecontext()> <cfoutput>#c.getCurrentLineNo()#</cfoutput>
~Mahcsig On Tue, Oct 8, 2013 at 10:05 AM, <> wrote: > > Hi, > > Since error messages include the number of the line where the error > occured, I suppose this line number is stored somewhere in the compiled > code. > > Does any one knows how to get this number ? > I mean anywhere in the code even when no error occured. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356898 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

