quote character in symbolic (AREV Specific)
At 11 JUN 2002 11:13:10AM Steve Brettler wrote:
I am writting a symbolic field that concatenates some fields together with some text strings. I need to have both " and ' (single and double quotes) in these strings and canot figure out how to do it.
I have tried surrounding the quote characters within quotes like this (" " ") to get a single quote to output but that doesnt seem to work.
Steve
At 11 JUN 2002 11:30AM Don Miller - C3 Inc. wrote:
Here's a sample:
@ANS='
@ANS:="':"'":VARIABLE:"'":'"'
THIS WILL LOOK LIKE:
"'variablestuff'" .. single-double quotes mixed. The trick is to surround a double-quote with single-quotes and single-quotes with double quotes. This is almost always necessary when you are constructing R/LIST sentences .. HEADING "'F' PRINTED ON 'D
S5'Page 'P'" .. this would be done: CMD:=HEADING "':"'":"PRINTED ON 'D
S5':Page 'P'":'"'HTH
Don Miller
C3 Inc.
At 11 JUN 2002 01:55PM Steve Brettler wrote:
Thanks Don:
That should set me on the road forward.
Steve
At 11 JUN 2002 02:18PM Dave Harmacek wrote:
For heading statements I like: X= HEADING ": QUOTE("This allows me to have newline 'L' and page 'P'")
You can also use CHAR( decimal), for quote CHAR( 34)