if.true
/
Conditionals /
if.true
By Amit Singh. Posted on
Title |
: |
if.true |
Purpose |
: |
Boolean represents one of two values: true or false, If provided variable is true then executes |
Syntax |
: |
|
[if.true "argument1"]/** ** code***/[/if.true] |
|
Input Parameters |
: |
Array, Boolean, String, Number, Null etc… |
Return Value |
: |
Code to be executed if condition is true |
Example 1 |
: |
Code |
: |
|
[if.true template.arg] [aw2.get template.true _string /] true [/if.true ] |
|
Output |
: |
It will display the text true! |
Description |
: |
Boolean Values:
Very often, in programming, you will need a data type that can only have one of two values, likeYES / NO
ON / OFF
TRUE / FALSE
For more information > Click Here! |
|
Last Modified By Praveen Gupta.