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

Re: [amibroker] Re: Ascii char 34


  • Date: Mon, 21 Dec 2009 22:10:10 +0100
  • From: "gillouse" <gillouse@xxxxxxx>
  • Subject: Re: [amibroker] Re: Ascii char 34

PureBytes Links

Trading Reference Links



Hello Mike,
 
thanks a lot for your help !

Gilles

From: Mike
Sent: Monday, December 21, 2009 8:33 PM
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@xxxxxxxxxps.com, "gillouse" <gillouse@xx.> 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
>



__._,_.___


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





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___