PureBytes Links
Trading Reference Links
|
Try this:
EnableScript( "jscript" );
<% function getSpecialChar( c ) { return String.fromCharCode(c); } %>
script = GetScriptObject();
_TRACE( "My special character is: " + script.getSpecialChar(200) + ".");
Mike
--- In amibroker@xxxxxxxxxxxxxxx, reinsley <reinsley@xxx> wrote: > > > Sorry, I was speaking about ascii car not accessible from keyboard such > as ALT 200 for example and others. > > ( ALT 179 is a poor example) > > â?? â?` and so on > > Best regards > > > Le 22/12/2009 09:59, reinsley a écrit : > > > > Hi, > > > > Along the same lines, how can I send an ascii car such as "ALT 179" ? > > > > For example in this case, how can I replace the "+" by ALT 179 ? > > > > > > PlotText( " +", endt1 - 1 , endR + Vs - 2, colorYellow ); > > > > > > TIA > > > > Best regards > > > > > > Le 21/12/2009 22:10, gillouse a écrit : > >> > >> > >> Hello Mike, > >> thanks a lot for your help ! > >> > >> Gilles > >> > >> *From:* Mike<mailto:sfclimbers@xxx > >> *Sent:* Monday, December 21, 2009 8:33 PM > >> *To:* amibroker@xxxxxxxxxxxxxxx<mailto:amibroker@xxxxxxxxxxxxxxx > >> *Subject:* [amibroker] Re: Ascii char 34 > >> > >> To include a quote character in a string, simply escape that character. > >> > >> Certain characters, such as tab character, newline, and quote must be > >> escaped. This is accomplished by preceding the character with a > >> backslash. The following example provides the quotes that you requested, > >> as well as including a newline character at the end of the line. > >> > >> fh = fopen(...); > >> ... > >> fputs("\"Date\",\"Time\",\"Open\",\"High\",\"Low\",\"Close\"\n", fh); > >> ... > >> > >> Mike > >> > >> --- In amibroker@xxxxxxxxxxxxxxx<mailto:amibroker%40yahoogroups.com>, > >> "gillouse"gillouse@ wrote: > >> > > >> > Hello, > >> > > >> > I'm looking for a way to plot the following sequence in a text file : > >> > "Date","Time","Open","High","Low","Close" > >> > to use with a software looking for tradestation data. > >> > Of course my problem is only adding " in a string. > >> > > >> > Thanks, > >> > > >> > Gilles > >> > > >> > >> > > > > > > > -- > Best regards >
__._,_.___
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
__,_._,___
|