The following are the miscellaneous operators and logical functions that are used for a variety of purposes in COD scripts. In most cases, the syntax can be copied/pasted directly into a file and function properly. They should be edited for your particular use. This allows you to short cut your time by not having to experiment to figure out code syntax.

FunctionExampleReturn Value
=dim myval = 1
if myval=1 then...
<if myval < 1 then...
>if myval > 1 then...
<>if myval <> 1 then...
+debug 1 + 1
debug("This is" + " " + "a test")
2
"This is a test"
-debug 5 - 32
*debug 2 * 24
/debug 4 / 22
anddebug 1 = 1 and 2 = 2n/a
notdebug Not Truen/a
ordebug Test = 1 or Test = 2n/a
( )(2 + 2) * 520