Template variables
Template variables can be used in the template pattern.
General Template Variables
The following variables are valid for HLASM:
| Variable | Description |
|---|---|
| ${cursor} | Specifies the cursor position when the template edit mode is left. This is useful when the cursor should jump to another place than to the end of the template on leaving template edit mode. |
| ${date} | Evaluates to the current date. |
| ${dollar} | Evaluates to the dollar symbol '$'. Alternatively, two dollars can be used: '$$'. |
| ${line_selection} | Evaluates to the content of all currently selected lines. |
| ${time} | Evaluates to the current time. |
| ${todo} | Evaluates to a proposal for the currently specified default task tag. |
| ${user} | Evaluates to the user name. |
| ${word_selection} | Evaluates to the content of the current text selection. |
| ${year} | Evaluates to the current year. |