PureBytes Links
Trading Reference Links
|
Software: TradeStation 2000 SP2
Machine: Gateway GP7-450 (PIII)
RAM: 128M
OS: Win98 4.10.1998
I was just trying to embed a quotation mark (") in an output file created
with the PRINT command. I tried a couple of "common" programming
techniques -- both of these were handled "properly" by the PowerEditor's
text coloring parser, but neither Verified.
Example (backslash escaped):
PRINT(File("c:\log\test.txt"), "This text contains a quotation mark \" in
the middle");
In this example, the parser colored everything from "This" to "middle" as a
string, but when Verified, it complained that "in" was not a recognised word.
Example (single quotes):
PRINT(File("c:\log\test.txt"), 'This text contains a quotation mark " in
the middle');
Again, everything from "This" to "middle" is colored as a string, but when
Verified, I get an error that the first "'" isn't a recognised word.
I was needing this since I'm creating ASCII data files via an indicator.
This indicator fills in holes in the data.
This may be more of a cosmetic bug than anything else -- e.g. if the above
strings, aren't valid strings, they shouldn't show up as such when parsed
for color coding.
All that said, how do I embed a quotation mark?
Thanks,
David Wieringa
|