- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
Does anybody use Headers in the rules?
In one rule that I got on the forum following is inserted in the header:
Imports System.Text.RegularExpressions
It is needed to add the "Regex" class to the code which has the function or property (not sure how to name it properly) to replace the existing name of the edge (named entity) with a new one.
oNow = oEdgePrefix & Now() oEdgeName = Regex.Replace(oNow, "[:/ ]", String.Empty)
But can somebody explain to me the function of Headers in general or give me a link with an explanation?
Why is needed to insert "System.Text.RegularExpressions" in the Header in the first place?
Do we add in this way extra classes in iLogic codes that originally do not exist in iLogic?
I hope my question makes sense, if anybody knows please let me know,
Tom
Solved! Go to Solution.