User`s guide

Creating/Editing Your Own Product File via XML Page 204
Rule
Description
Parameters
Integer
An integer value
Min and Max (optional)
Decimal
A decimal value
Min and Max (optional)
String
A string value in double quotes
OR in the style h01
Regexp (optional)
Bool
True, false, yes, no, 1 or 0
DateTime
Real time and/or date
Timecode
In the form 00:00:00.01
Percent
0-100% (sign required)
Option
Match the value the user typed
in exactly No quotes required
Match the string to match
Replace (optional) the string,
timecode, int, etc to replace the
entire match with
Optional Parameters (Init Values)
Add an initial value to make a parameter optional. This way, if the parameter isn’t entered by the
user, the init value will be used instead.
init: the value that will be used if the parameter isn’t entered in WinScript.
Note: parameters with "String" rules should have "init" values placed in double quotes. Also,
parameters with "init" must be placed at the END of the list of parameters.
Operations on Parameters
If you’d like to change the user entered data before it goes into an outgoing message, you can
perform an "operation" on a parameter.
A simple operation to add 5 to the parameter "myParam" is shown below:
Name: The name that can be referenced in the final message
Result: The actual operation functions or operators in combination with a parameter or operation
name.
Note: Any hex values can have a 0x prefix. For example, "myParam + 0x05" is valid.
Below is a list of operators that can be performed on a particular parameter or other operation.
Operator
Function
(
Open Parenthesis
)
Closed Parenthesis