Difference between revisions of "DoubleQuote"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Displays the double-quote (") character in a string. ==== Example ==== This example demonstrates how the word Hello in double quotes can be displayed on the last bar above ...")
 
Line 1: Line 1:
 
Displays the double-quote (") character in a string.  
 
Displays the double-quote (") character in a string.  
 
   
 
   
==== Example ====
+
== Usage ==
This example demonstrates how the word Hello in double quotes can be displayed on the last bar above High:
+
<syntaxhighlight>DoubleQuote</syntaxhighlight>
  
 +
== Example ==
 
<syntaxhighlight>Variable: ID(-1);
 
<syntaxhighlight>Variable: ID(-1);
 +
 
If LastBarOnChart Then  
 
If LastBarOnChart Then  
ID = Text_New(Date, Time, High + 1 Point, DoubleQuote + "Hello" + DoubleQuote);</syntaxhighlight>  
+
  ID = Text_New(Date, Time, High + 1 Point, DoubleQuote + "Hello" + DoubleQuote);</syntaxhighlight>  
 +
This example will display the word "Hello", including double quotes, on the last bar above the high.
 
   
 
   
 
[[Category:Text Manipulation]]
 
[[Category:Text Manipulation]]

Revision as of 07:43, 9 February 2012

Displays the double-quote (") character in a string.

Usage

DoubleQuote

Example

Variable: ID(-1);

If LastBarOnChart Then 
   ID = Text_New(Date, Time, High + 1 Point, DoubleQuote + "Hello" + DoubleQuote);

This example will display the word "Hello", including double quotes, on the last bar above the high.