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
>