This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
placeholder_expression [2017/06/01 07:08] – justin | placeholder_expression [2021/04/11 20:46] – justin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======Placeholder | + | ======Placeholder |
---- | ---- | ||
- | A **placeholder expression** is a scripting data type consisting of a string of characters enclosed by double quotes on each end. Strings are typically used to represent a message, | + | **Placeholder expressions** provide |
+ | |||
+ | <WRAP center round important 100%> | ||
+ | Since placeholder expressions are parsed during a [[script|script' | ||
+ | </ | ||
+ | |||
+ | In regards to usage, the expression must be enclosed using the following syntax consisting of a dollar sign and curly braces: | ||
+ | |||
+ | <code bauxite> | ||
+ | ${expression} | ||
+ | </ | ||
+ | |||
+ | As with [[string|strings]], | ||
====Example: | ====Example: | ||
- | < | + | < |
- | display_message(" | + | display_message(" |
</ | </ | ||
~~NOTOC~~ | ~~NOTOC~~ |