Hi everyone,
do you know how to obtain debug flag in Ctrl?
I have my own debug flag that activates DebugFTN() messages in CTRL script, however there are some debugging that shall be prepared beforehand (some routine in loops) an only then printed out or not by DebugFTN() function.
I don't like processing preparation routine if the desired debug flag is not activated. Any ideas how to process it?
P.s. Parsing arguments did not help.
How to obtain an active debug flag in CTRL script
Search
Re: How to obtain an active debug flag in CTRL script
I do not understand what you want to do.
The debug message for DebugFTN() are only written if the debug flag is set. With this function you can prepare debug message and write them only if needed.
With the CTRL function isDbgFlag() you can check if a specific debug flag is currently set or not.
Best Regards
Leopold Knipp
Senior Support Specialist
The debug message for DebugFTN() are only written if the debug flag is set. With this function you can prepare debug message and write them only if needed.
With the CTRL function isDbgFlag() you can check if a specific debug flag is currently set or not.
Best Regards
Leopold Knipp
Senior Support Specialist
Re: How to obtain an active debug flag in CTRL script
isDbgFlag() is what I needed, thank you