Difference between revisions of "Parameter expressions"
From CCIL
(→Links) |
(→Reference) |
||
Line 12: | Line 12: | ||
xfer = xfer | xfer = xfer | ||
</pre> | </pre> | ||
+ | |||
+ | == Macros == | ||
+ | # {SPACE} - Expands into a space. | ||
+ | # {TAB} - Expands into a tab: '\t'. | ||
+ | # {LF} - Expands into a line feed: '\n'. | ||
+ | # {CR} - Expands into a carriage return - '\r'. | ||
+ | # {NL} - Expands into new line: System.getProperty("line.separator"). | ||
+ | # {CDATE} - Expands into current date: new Date().toString(). | ||
+ | # {CTIME} - Expands into current time: new Date().toString(). | ||
+ | # {TIMESTAMP} - Expands into timestamp: System.currentTimeMillis(). | ||
== Links == | == Links == |
Revision as of 13:19, 14 May 2017
Reference
You can reference a parameter name by using the @ symbol:
PARSE_CONTENT.input = @xfer
At some point there shpoul be a definition:
# properties xfer = xfer
Macros
- {SPACE} - Expands into a space.
- {TAB} - Expands into a tab: '\t'.
- {LF} - Expands into a line feed: '\n'.
- {CR} - Expands into a carriage return - '\r'.
- {NL} - Expands into new line: System.getProperty("line.separator").
- {CDATE} - Expands into current date: new Date().toString().
- {CTIME} - Expands into current time: new Date().toString().
- {TIMESTAMP} - Expands into timestamp: System.currentTimeMillis().