1
0
forked from HPR/hpr_generator

Add display_choice macro

Display custom messages depending on a boolean integer value.
This commit is contained in:
2022-08-04 19:31:35 -04:00
parent 284b92d80b
commit e250581f3c
2 changed files with 6 additions and 1 deletions

View File

@@ -2,3 +2,8 @@
<!--% USE String(word) %-->
<!--% String.format("%04s") %-->
<!--% END %-->
<!--% MACRO display_choice(choice, display_when_true, display_when_false) BLOCK %-->
<!--% IF choice == 1 %--><!--% display_when_true %-->
<!--% ELSE %--><!--% display_when_false %--><!--% END %-->
<!--% END %-->