Numeric: Difference between revisions
From MultiCharts
(Created page with "Used in function input declaration statements to define an input as Numerical. Input defined as Numerical can be used both as a Numerical Simple as well as a Numerical Series...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
Used in function input declaration statements to define an input as Numerical. | Used in function input declaration statements to define an input as Numerical. | ||
Input defined as Numerical can be used both as a Numerical Simple as well as a Numerical Series input; the value of a Simple input is constant from bar to bar and thus has no history, while the value of a Series input may vary from bar to bar and can be referenced historically. | Input defined as Numerical can be used both as a Numerical Simple as well as a Numerical Series input; the value of a Simple input is constant from bar to bar and thus has no history, while the value of a Series input may vary from bar to bar and can be referenced historically. | ||
== Usage == | |||
<syntaxhighlight>Input:InputName(Numeric)</syntaxhighlight> | <syntaxhighlight>Input: InputName(Numeric)</syntaxhighlight> | ||
The name cannot begin with a number or a period and is not case-sensitive. | Where: | ||
:'''InputName''' - an expression specifying the input name. The name can consist of letters, underscore characters, numbers, and periods. The name ''cannot'' begin with a number or a period and is not case-sensitive. | |||
== Example == | |||
Declare Length as a Numerical function input: | Declare Length as a Numerical function input: | ||
<syntaxhighlight>Input:Length(Numeric);</syntaxhighlight> | <syntaxhighlight>Input: Length(Numeric);</syntaxhighlight> | ||
[[Category:Declaration]] | [[Category:Declaration]] |
Latest revision as of 05:56, 8 April 2013
Used in function input declaration statements to define an input as Numerical.
Input defined as Numerical can be used both as a Numerical Simple as well as a Numerical Series input; the value of a Simple input is constant from bar to bar and thus has no history, while the value of a Series input may vary from bar to bar and can be referenced historically.
Usage
Input: InputName(Numeric)
Where:
- InputName - an expression specifying the input name. The name can consist of letters, underscore characters, numbers, and periods. The name cannot begin with a number or a period and is not case-sensitive.
Example
Declare Length as a Numerical function input:
Input: Length(Numeric);