[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Re: Ascii char 34


  • Date: Tue, 22 Dec 2009 13:47:26 +0100
  • From: reinsley <reinsley@xxxxxxxx>
  • Subject: Re: [amibroker] Re: Ascii char 34

PureBytes Links

Trading Reference Links

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 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@...
>  > >> *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/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    amibroker-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/