if.num

/ Conditionals / if.num

Title : if.num
Purpose : If provided variable is number then executes
Syntax : [if.num Variable_Name]
//** Do something **//
[/if.num]
Input Parameters : variable which needs to be check.
Return Value : It does not return anything
Example  :
Code :
Output : in var_num is number then set str as “var_num is number”
Description : In the example, var_num variable is declared and there is store value 200. As the variable is number, then if num condition will get satisfied and the logic inside will get executed.
Categories
Most Popular

Leave a Reply

Your email address will not be published.