Difference between revisions of "String"

From MultiCharts
Jump to navigation Jump to search
m (Reverted edits by 176.8.90.7 (talk) to last revision by 194.84.116.138)
m
 
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 ====
+
== Usage ==
<syntaxhighlight>Input:InputName(String)</syntaxhighlight>  
+
<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.  
+
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:  
  
<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);