Member
Join Date: Aug 2010
Posts: 50
|
I was attempting to write a procedure utilizing the less than symbol for comparison. I kept getting this error when loading the data files:
File: MyTestFile.user (line 39) - Encountered unknown element tag '2)' Here is the procedure it is complaining about (I simplified the longer procedure that was causing the error initially): Code:
<procedure id="testproc" scripttype="eval"> ~ this is a test of using less than in the procedure block if (1 < 2) then call SizeChange endif </procedure> |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
You need <![CDATA[ ]]> wrappers around the script itself:
Code:
<procedure id="testproc" scripttype="eval"><![CDATA[ ~ this is a test of using less than in the procedure block if (1 < 2) then call SizeChange endif ]]></procedure> |
#2 |
Member
Join Date: Aug 2010
Posts: 50
|
Thank you kindly Mathias.
|
#3 |
|
|