Thank you for your help, TJ, Peter, Mike


Le 22/12/2009 13:06, Mike a écrit :
>
>
> Try this:
>
> EnableScript( "jscript" );
>
> <%
> *function* getSpecialChar( *c* ) {
> *return* String.fromCharCode(*c*);
> }
> %>
>
> script = GetScriptObject();
>
> _TRACE( "My special character is: " + script.getSpecialChar(200) + ".");
>
> Mike
>
>
> --- In [email protected], reinsley <reins...@...> 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:sfclimb...@...
>  > >> *Sent:* Monday, December 21, 2009 8:33 PM
>  > >> *To:* [email protected]<mailto:[email protected]
>  > >> *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 [email protected]<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
>  >
>
> 



Reply via email to