﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2511	New Macro @SourceName	Fulgor		"{{{
;start file1.au3 ------------------------------------------------
;file1.au3



#include ""file3.au3""
#include ""file2.au3""
local $a=1
local $b=1
MsgBox(0,@ScriptName & "", "" & @ScriptLineNumber,""a = b"")



#cs
this program shows 3 times always the SAME message

--------------
File1.au3, 10       <== always file one and always line 10, but the message are from different sourcefiles
a=b
OK
--------------

I cannot recognize where is the message from


My Wish:
========
a new macro: @SourceName


for purpose
MsgBox(0,@SourceName & "", "" & @ScriptLineNumber,""a = b"")

this should show 3 different messages
--------------
File3.au3, 10       <== file three and line 10
a=b
OK
--------------
--------------
File2.au3, 10       <== file two and line 10
a=b
OK
--------------
--------------
File1.au3, 10       <== file one and line 10
a=b
OK
--------------
#ce
;end file1.au3 ==================================================




;start file2.au3 --------------------------------------------------
;file2.au3





local $a=1
local $b=1
MsgBox(0,@ScriptName & "", "" & @ScriptLineNumber,""a = b"")

;end file2.au3 ====================================================




;start file3.au3 --------------------------------------------------
;file3.au3





local $a=1
local $b=1
MsgBox(0,@ScriptName & "", "" & @ScriptLineNumber,""a = b"")

;end file3.au3 ====================================================


}}}"	Feature Request	closed		AutoIt		None	Rejected		
