String: Difference between revisions
From MultiCharts
(→Usage) |
m (Reverted edits by 176.8.90.7 (talk) to last revision by 194.84.116.138) |
||
Line 2: | Line 2: | ||
Input defined as String can be used both as a String Simple as well as a String 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 String can be used both as a String Simple as well as a String 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(String)</syntaxhighlight> | |||
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 ==== | ==== Example ==== | ||
Declare Name as a String function input: | Declare Name as a String function input: |
Revision as of 13:10, 13 February 2012
Used in function input declaration statements to define an input as String. Input defined as String can be used both as a String Simple as well as a String 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(String)
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 Name as a String function input:
Input:Name(String);