Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
Precompiler bug
I am loving the SRP_PreCompiler - thanks for sharing all your hard work to make my life easier!
I noticed a bug in the SRP_Precompiler that affects the GoToEvent code. The actual code that is output from the PreCompiler defines the SRP_Precompiler_EventList@ common variable with the GoSub labels for each event. When there is over a certain number of these events in the program, it will attempt to define the common variable with multiple lines of code. In doing so, a comma gets omitted, causing the branching to not work for two of the events. I showed a snippet of what I am seeing in the #pragma output file below.
I noticed a bug in the SRP_Precompiler that affects the GoToEvent code. The actual code that is output from the PreCompiler defines the SRP_Precompiler_EventList@ common variable with the GoSub labels for each event. When there is over a certain number of these events in the program, it will attempt to define the common variable with multiple lines of code. In doing so, a comma gets omitted, causing the branching to not work for two of the events. I showed a snippet of what I am seeing in the #pragma output file below.
SRP_Precompiler_EventList@ = "MENU.FILE.SAVE.MENU,MENU.FILE.DELETE.MENU,WINDOW.CREATE,WINDOW.CLOSE,EDT_BOGO.POSCHANGED_PRE,EDT_BOGO.POSCHANGED,PUB_CANCEL.CLICK,PUB_SAVE.CLICK,WINDOW.READ"
SRP_Precompiler_EventList@ := "WINDOW.WRITE_PRE,EDT_BOGO.DBLCLK"
Comments
Is that next version with the bug fixes available now?