if.yes
/
Conditionals /
if.yes
By Amit Singh. Posted on
| Title |
: |
if.yes |
| Purpose |
: |
If provided variable is yes then executes |
| Syntax |
: |
|
|
[if.yes "argument1"]/** ** code***/[/if.yes] |
|
| Input Parameters |
: |
Provided variable is yes |
| Return Value |
: |
Code to be executed if condition is true |
| Example 1 |
: |
| Code |
: |
|
|
[if.yes template.arg] [aw2.get template.yes_value /] [/if.yes] |
|
| Output |
: |
It will display the text yes! |
| Description |
: |
Boolean Values:
Very often, in programming, you will need a data type that can only have one of two values, like
YES / NO
ON / OFF
TRUE / FALSE |
|
Last Modified By Praveen Gupta.