@ SUPPORT;
It would be VERY helpful if we could add "Comments" in the rule section and also be able to "Comment out" and rule line. Lots of times during development and testing, I need to comment out a line or two for testing.
Any line (or part of a line) that starts with "//" should be ignored by rule engine.
Thank you in advance!
►FR◄ Ability to comment out a line in rules
Re: ►FR◄ Ability to comment out a line in rules
+1 very useful. Instead of deleting a line/rule we could activate/deactivate.
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
Re: ►FR◄ Ability to comment out a line in rules
We are in 2016 and in 1976 (40 years ago), I was able to have comment lines, in my Fortran, Cobol, RPG, Basic, and assembly programs.weblike wrote:+1 very useful. Instead of deleting a line/rule we could activate/deactivate.
Re: ►FR◄ Ability to comment out a line in rules
This will be very handy in testing
Re: ►FR◄ Ability to comment out a line in rules
Just put in a condition that will never be met like 0=1
Pete Bradstreet
Contract developer of commercialized applications
AwareIM Ver. 8.2
Contract developer of commercialized applications
AwareIM Ver. 8.2
Re: ►FR◄ Ability to comment out a line in rules
Rules are not always conditional. and sometimes there are multiple lines of actions to disable and enable during testing. Getting around it, wasn't my question/request in this post.pbrad wrote:Just put in a condition that will never be met like 0=1
Re: ►FR◄ Ability to comment out a line in rules
Rules always have the option to apply a condition and adding a condition of 0=1 effectively rems out any rule and will rem out a rule or process no matter how many lines of actions there are in it.. I have been doing it for 10 years quite successfully but thank you for clarifying for me why you posted your thread and why my response was inappropriate. Perhaps there are users that are not as senior as you that might benefit from my advice however.
Pete Bradstreet
Contract developer of commercialized applications
AwareIM Ver. 8.2
Contract developer of commercialized applications
AwareIM Ver. 8.2
-
- Posts: 2400
- Joined: Mon Jul 02, 2012 12:24 am
- Location: Ulaanbaatar, Mongolia
Re: ►FR◄ Ability to comment out a line in rules
I would like to be able to disable (not delete) any Action(s) but have the Rule itself still execute.
Also, to be able to have a Comment Action row would be really helpful at times.
Also, to be able to have a Comment Action row would be really helpful at times.
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Re: ►FR◄ Ability to comment out a line in rules
Agreed.
Cheers,
Pete
Cheers,
Pete
Pete Bradstreet
Contract developer of commercialized applications
AwareIM Ver. 8.2
Contract developer of commercialized applications
AwareIM Ver. 8.2
Re: ►FR◄ Ability to comment out a line in rules
And if this feature is added, it would be very helpful to search and find all places where "disable" is used.I would like to be able to disable (not delete) any Action(s) but have the Rule itself still execute.
Tom - V8.8 build 3137 - MySql / PostGres
Re: ►FR◄ Ability to comment out a line in rules
My original request was to be able to comment out a single line or multiple lines.tford wrote:And if this feature is added, it would be very helpful to search and find all places where "disable" is used.I would like to be able to disable (not delete) any Action(s) but have the Rule itself still execute.
The word "disable" triggers a better idea or feature adding to the code editor to "disable" a section of code not to execute, and then be able to search "disabled" codes as Tom suggested.
This is a real needed feature during testing and diagnosing problems.