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

Re: Problems with Quotes in Print statement



PureBytes Links

Trading Reference Links

On Tue, 24 Jun 2003, Bill Lumley wrote:

> I am trying to output the following line to a file :
> 
> "ES","BUY","1","0","BRACKET","MKT","0","0.5","0","1","0.5","FALSE","0","0",
> 
> When I put this is the following print statement it
> will not verify past the first double quote :
> 
> Print(File("C:\ninjatrader\entry.txt"),""ES","BUY","1","0","BRACKET","MKT","0","0.5","0","1","0.5","FALSE","0","0",");
> 
> How do I get around the fact that first character in
> my file is a " ?
> 
> Thanks Bill
> 
> 

I use the FileAppend() statement.
FileAppend("C:\ninjatrader\entry.txt"X "ES, BUY, 1, 0, BRACKET, MKT, 0, 0.5, 0, 1, 0.5, FALSE, 0, 0");