Availability: Docs Title: BuildGraph Script Conditions Crumbs: %ROOT%, Programming, Programming/Development, Programming/Development/BuildGraph Description:Learn the syntax needed to write BuildGraph script conditions. version: 4.13 parent:Programming/Development/BuildGraph type:Reference related: Programming/Development/BuildGraph/BuildGraphScriptAnatomy tags:BuildGraph [VAR:TopicCompact] [OBJECT:TopicCompact] [PARAM:image] ![%Programming/Development/BuildGraph/BuildGraphScriptConditions%](conditional_topic.png) [/PARAM] [PARAM:icon] ![](%ROOT%/reference_icon.png)(convert:false) [/PARAM] [PARAM:title] %Programming/Development/BuildGraph/BuildGraphScriptConditions:title% [/PARAM] [PARAM:description] %Programming/Development/BuildGraph/BuildGraphScriptConditions:description% [/PARAM] [PARAM:path] [RELATIVE:Programming/Development/BuildGraph/BuildGraphScriptConditions] [/PARAM] [/OBJECT] [/VAR] [TOC(start:1 end:3)] [EXCERPT:BuildGraphScriptConditions] If you want to build logical complexity into your BuildGraph scripts, you'll need to work with conditionals. The following section introduces you to how BuildGraph conditions are written, including a list of conditional operators. ## Conditions BuildGraph script conditions consist of atoms and operators that evaluate to `true` or `false`. ### Atoms Atoms can be numbers, strings, or identifiers that are coerced to their appropriate type for the oprator using them. Atoms may be quoted with single (') or double (") quotes. They can also be an unquoted sequence of letters, digits, and underscore characters. ### Literals All literals are considered identical, regardless of how they're declared. Additionally, literals are considered case-insensitive for comparisons, which means that the strings "True" and 'true' are identical to the identifier `true` (despite the presence of quotes and differences in case). ## Operators A list of operators is specified below: [INCLUDE:#OperatorTable] [REGION:note] The `'<'` and `'>'` characters must be escaped as `"<"` and `">"` in XML (referencing [XML Schema v1.0](https://www.w3.org/TR/NOTE-dcd])). [/REGION] [/EXCERPT:BuildGraphScriptConditions]