Difference between revisions of "String"
Jump to navigation
Jump to search
(Created page with "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 ...") |
m |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Used in function input declaration statements to define an input as String. | 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. | + | |
+ | 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> | + | <syntaxhighlight>Input: InputName(String)</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 Name as a String function input: | Declare Name as a String function input: | ||
− | <syntaxhighlight>Input:Name(String);</syntaxhighlight> | + | <syntaxhighlight>Input: Name(String);</syntaxhighlight> |
− | |||
[[Category:Declaration]] | [[Category:Declaration]] |
Latest revision as of 05:58, 8 April 2013
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);