Database Control Pro Documentation
Version 1.0.0 onwards



If Command

Description:
The If Command acts as a simple If statement. If the condition is satisifed the contained Commands will be run. The condition can compare two strings or two numbers.

The Command name can be anything you like, it makes no difference when the sequence is run and is purely for organisation purposes.

The 'Command Type:' line reminds you of the Command Type as you might choose not to put it in the Command's name.

The remaining properties are specific to this Command Type.


Properties:

Is Number Comparision? - If checked the two strings provided will be parsed into numbers and compared. If not, the two strings will be compared.

Operator Type - The type of comparison which is taking place. '=' checks the values are equal and '!=' checks the values are not equal. If 'Is Number Comparision?' is checked then more operators are available; '<' less than, '>' greater than, '<=' less than or equal to, '>=' greater than or equal to.

If 'Is Number Comparision?' is not checked:

String One - The first string to be compared. It can be a string or a variable value.

String Two - The second string to be compared. It can be a string of a variable value.

If 'Is Number Comparision?' is checked:

Float One - The first number to be compared. It can be a float or a variable value. If it is a variable value it will be parsed into a float.

Float Two - The second number to be compared. It can be a float or a variable value. If it is a variable value it will be parsed into a float.

E.g. If the operator type is '>', Float One is 3 and Float Two is 2, then the condition is '3 > 2' which is true to the containing Commands would be run.