Difference between revisions of "StringSimple"

From MultiCharts
Jump to navigation Jump to search
m
 
Line 1: Line 1:
 
Used in function input declaration statements to define an input as String Simple.  
 
Used in function input declaration statements to define an input as String Simple.  
 +
 
The value of an input defined as Simple is constant from bar to bar and thus has no history.  
 
The value of an input defined as Simple is constant from bar to bar and thus has no history.  
 
   
 
   
==== Usage ====
+
== Usage ==
<syntaxhighlight>Input:InputName(StringSimple)</syntaxhighlight>  
+
<syntaxhighlight>Input: InputName(StringSimple)</syntaxhighlight>  
  
Where: [[InputName]] - an expression specifying the input name  
+
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.  
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 Simple function input:  
+
Declare ''Name'' as a String Simple function input:  
 
 
<syntaxhighlight>Input:Name(StringSimple);</syntaxhighlight>
 
 
 
  
 +
<syntaxhighlight>Input: Name(StringSimple);</syntaxhighlight>
  
 
[[Category:Declaration]]
 
[[Category:Declaration]]

Latest revision as of 06:02, 8 April 2013

Used in function input declaration statements to define an input as String Simple.

The value of an input defined as Simple is constant from bar to bar and thus has no history.

Usage

Input: InputName(StringSimple)

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 Simple function input:

Input: Name(StringSimple);