Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
custom_tokens_configuration [2020/04/26 03:33] 127.0.0.1 external edit |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Tokens are similar to macros. They are replaced at runtime with the predefined values. There are system tokens like " | ||
- | You can also define your own tokens. This is done through the token.properties file in " | ||
- | |||
- | The custom tokens are defined with a " | ||
- | |||
- | Custom tokens must be referenced with a prefix " | ||
- | |||
- | For example the following line defines a " | ||
- | |||
- | | ||
- | |||
- | You then use this in mScript: | ||
- | |||
- | <if value1=" | ||
- | < | ||
- | </if> | ||
- | |||
- | Usually each token is defined in the token.properties file in one line. However, if you want to span the token definition over multiple lines for better readability, | ||
- | |||
- | For example: | ||
- | |||
- | myToken=line1 \ | ||
- | line2 \ | ||
- | last line | ||
- | |||
- | Regardless of multiple lines, they are concatenate together into a single one line text when the token is used with white spaces removed. | ||
- | |||
- | **Rel 3.0.13** |