I use text variables a lot for importing information that changes from build to build. Is there any mechanism for using these in conditional output? I can't find any mention of this. The closest thing seems to be user-defined builds, but that would only be useful if it were possible to enable or disable them with a command-line option, but it would still not be as useful as being able to conditionally include content on the result of a boolean expression.
I'm thinking specifically of the possibility of needing to generate different output depending on the version of H&M compiling the help - based on what I have read in this post: https://www.it-authoring.com/bb/helpaut ... hp?p=70103
Using text variables to control conditional output
Moderators: Alexander Halser, Tim Green
- Tim Green
- Site Admin
- Posts: 23186
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Using text variables to control conditional output
Hi Ross,
You can enclose variables in conditions but you can't use them as the basis for conditions. This is because only the true/false status of the condition itself is evaluated in HM's conditional output. Variables are also plain text only.
You can enclose variables in conditions but you can't use them as the basis for conditions. This is because only the true/false status of the condition itself is evaluated in HM's conditional output. Variables are also plain text only.
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Re: Using text variables to control conditional output
Thanks Tim.
OK, feature request coming ...
OK, feature request coming ...