Bookshelf Home | Contents | Index | PDF |
Siebel Consumer Goods Handheld Guide > Print Tagging Language > Data Manipulation and Logic Tags > Conditional TagsThe conditional tag compares a variable against a criterion according to the operator, and decides to execute either an IF or an ELSE clause. UsageUse conditional tags to develop simple if-then logic to control the output of your print data. It is recommended that if-then-else tags are kept simple to ensure that print output is successful. SyntaxTo use this tag, use the following syntax: <TAG:IF variable="VARIABLE NAME" operator="OPERATOR" criteria="CRITERIA" numeric= "NUMERIC"> NOTE: If the comparison is true, the tags immediately following the <TAG:IF...> tag are executed; if the comparison is false, the tags immediately following the <TAG:ELSE...> tag are executed. ExampleThe following example evaluates whether the variable numrows is equal to 15, 17, or 19:
|
Siebel Consumer Goods Handheld Guide | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |