I have two different files named "Main", which have nothing to do with each other, and which reside in different folders.
Thing is, when I add these lines:
Code: Select all
Local NewTable = {}
ForEach(T_Brush, Function(ID, Content)
NewTable[Content] = ID
EndFunction)
ForEach(LoadingBar.LoadBrushes, Function(ID, Content)
Local String="GFX.AddBrush(\""..NewTable[Content.ID].."\", \""..Content.File.."\")"
If HasItem(Content, "alpha") = True Then String=""..String..", True"
DebugPrint(""..String..")")
EndFunction)
As lets say they are MAIN1 and MAIN2.
I add these lines to MAIN2, execute, and when error comes, it tells the error line on MAIN2 right, but it shows up the MAIN1.
I suppose I have accidentally used some IDE control code, but do you know which in these two trigger it?
I do know it is in lines between the Foreach FUNCTION() and ENDFUNCTION, those are causing it, since if I remove them, everything works normally.