From 21b9f1bfe216450db5c1844d5f70d73de2bfe1d1 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Fri, 6 Apr 2018 13:17:23 -0400 Subject: Added "if to check for existance" to readme. Added documentation that explains how to use TMPL_IF and TMPL_ELSEIF to check for a variable's existance. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c9f46ab..f23ad85 100644 --- a/README.md +++ b/README.md @@ -114,7 +114,7 @@ Prints the variable named "variable\_name" in it's place, if no variable named " Branching statements, checks if a variable is equal to a constant value. -Checks if the variable "variable\_name" contains the string "check\_value". There is currently no way to check if two variables are equal. Elseif and Else clauses are optional. All `TMPL_IF` statements must be closed with `TMPL_END`. +Checks if the variable "variable\_name" contains the string "check\_value". There is currently no way to check if two variables are equal. Elseif and Else clauses are optional. All `TMPL_IF` statements must be closed with `TMPL_END`. You can use `TMPL_IF` and `TMPL_ELSEIF` to check for a variable's existance by not specifying a `value` parameter. : -- cgit v1.2.3-70-g09d2