Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
TCL Command line in SRP Editor
in SRP Editor
Does SRP's Editor not recognize the legacy TCL verb "COUNT", as it appears I cannot use "COUNT" @TCL in SRP editor ; I CAN use "COUNT" @TCL in RTI's System editor, I can use COUNT @TCL in U2 and D3. Any reason I cannot use "COUNT" as a verb in SRP's editor @TCL line? TIA. OI v9.4.6/Win10/SRP Editor v3.3.9.0.
Comments
You can, however, create your own commands. You can use the TCL EDIT COUNT command to create a stored procedure template such that you can implement the COUNT command and any others for that matter. The template has four gosubs that you need to fill out. The template has gobs of comments explaining what each gosub is for and what to do with them.
You can also get help here.
It was never documented because the feature was nice but never something I was super happy with. I started an SRP_TCL project some years later to have a really slick TCL platform, but... well... same ol' vaporware sob story.
Here's a small patch that will fix your problem as well as give you the source code to the WINDOW command. That should give you some clearer understanding on how to fill in those gosubs. You can use TCL EDIT WINDOW to see the command or just open SRP_TCLCMD_WINDOW.