diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2018-04-06 13:17:23 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2018-04-06 13:17:23 -0400 |
| commit | 21b9f1bfe216450db5c1844d5f70d73de2bfe1d1 (patch) | |
| tree | 05586b894e508fab04480f0f2d71a74bc9392faf | |
| parent | 90a4f1acb38340590a72345da1bc70f87b8f1efa (diff) | |
| download | libctemplates-21b9f1bfe216450db5c1844d5f70d73de2bfe1d1.tar.gz libctemplates-21b9f1bfe216450db5c1844d5f70d73de2bfe1d1.tar.bz2 libctemplates-21b9f1bfe216450db5c1844d5f70d73de2bfe1d1.zip | |
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.
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. <TMPL_LOOP name="loop_name"> : |
