DADiSP Worksheet Functions > Function Categories > Macro and Command File Functions > | (VERTBAR)
Combines several functions, commands, or macros on a single line for execution as a whole. This command form may be used at the command line or within a macro.
<formula1> | <formula2> | <formulaN>
<formulaN> |
- |
Any valid formula, a command, function or macro. The following are examples of valid formula types:
|
gsin(100,0.01,2.0)|expandv|scrolll
generates a 2 Hz sine wave (100 points), expands it vertically and scrolls it left.
The | (vertical bar) is an alternate syntax for combining multiple commands. However ; (SEMICOLON) is the preferred and recommended syntax. The | is supported only for backwards compatibility with legacy systems.