String: Difference between revisions
From MultiCharts
m
no edit summary
(→Usage) |
mNo edit summary |
||
(One intermediate revision by one other user 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> | |||
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]] |