[[boolean_conditions]] octgn

Route:

Boolean Tags
The following tags are used to specify boolean conditions inside control structures like the if-then-else.

And
The <and> tag contains any number of boolean tags and combines them with the AND operation (ie. the result is true only if all the parts result to true).

Confirm
The <confirm> tag prompts the user with a question and results to true if the user selects "Yes" or false otherwise.
Attributes:

The text may contain placeholders. Known placeholders are:

Equal to
The <eq> tag compares two variables or values and results to true if they are equal.
Attributes:

Is Face Down
The <isFaceDown> contains a card selector tag and results to true if the selected cards are face down.

Is Rotated by 90°
The <isRot90> contains a card selector tag and results to true if the selected cards are rotated by 90° or 270°.

Is Rotated by 180°
The <isRot180> contains a card selector tag and results to true if the selected cards are rotated by 180° or 270°.

Less than
The <lt> tag compares two variables or values and results to true if the left operand is less than the right operand.
Attributes:

Not
The <not> tag contains one boolean tag and negates it's value (ie. the result is true if the child tag results to false and vice versa).

Not Equal
The <neq> tag compares two variables or values and results to true if they are not equal.
Attributes:

Or
The <or> tag contains any number of boolean tags and combines them with the OR operation (ie. the result is false only if all the parts result to false).

boolean_conditions, Rev. 1, Last changed on 2008-10-05 09:46, 356 page hits
Share/Save/Bookmark
Wiki hosted for free at wikihost.org || RSS-Feed