| (VERTBAR)

Purpose:

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.

Syntax:

<formula1> | <formula2> | <formulaN>

<formulaN>

-

Any valid  formula, a command, function or macro. The following are examples of valid formula types:

1.

An expression evaluation to a series or scalar:

W1 * W1

2.

Commands that return nothing but manipulate a series or Window display:

EXPANDH(2), FPEAK, CURSORON, or PLOTMODE(0).

3.

Built-in or user-defined functions or macros:

AUTOCOR(W1) or PSD(W1)

Example:

gsin(100,0.01,2.0)|expandv|scrolll

 

generates a 2 Hz sine wave (100 points), expands it vertically and scrolls it left.

Remarks:

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.

See Also:

; (Semicolon)