Skip to content

Commit

Permalink
Tweak to IfConditions.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsmorley committed Dec 5, 2024
1 parent d7663a9 commit a562182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/manual/measures/general-options/ifconditions.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
---
<p><b>IfCondition</b> options are used in any measure, of any type, to evaluate a mathematical formula. The formula will be evaluated as "true" or "false", and will execute <b>IfTrueAction</b> or <b>IfFalseAction</b> <a href="!skins/option-types/#Action">action options</a>, which will contain one or more <a href="!bangs/">Bangs</a> or commands.</p>

<p><b>Note:</b> IfCondition can only be used to evaluate a numeric mathematical formula. No string values may be used in the condition test. See <a href="!measures/general-options/ifmatchactions/">IfMatchActions</a> to test and take action on string values.</p>
<p><b>Note:</b> IfCondition can only be used to evaluate a numeric mathematical formula, and only on a measure. No string values may be used in the condition test. See <a href="!measures/general-options/ifmatchactions/">IfMatchActions</a> to test and take action on string values.</p>

<p>The formula uses the same syntax as described on the <a href="!formulas/">Formulas page</a> but does not need to be surrounded in parenthesis. Like the <a href="!measures/calc/">Calc measure</a>, measure names do not need [brackets] and are always <a href="/tips/dynamiccheatsheet/">dynamic</a> when referenced inside the IfCondition.</p>

Expand Down

0 comments on commit a562182

Please sign in to comment.