SeeView Manual
SeeView Statements and Script Symbols
HP NonStop SeeView Manual—526355-004
9-142
Quotation Mark “
Example
This example shows how to use the left brace to delimit an end of the line comment.
Quotation Mark “
A statement beginning with a quotation mark indicates the beginning of a string of data
to be written directly to the terminal device defined by the SeeView program output file.
Considerations
The specified string appears at the current buffer address. To change the buffer
address, use the LINE, BELOW, BESIDE, UP, DOWN, LEFT, RIGHT, and PLOT
statements. A balanced string expression can follow the quote. For an explanation of
string-expression syntax, see the description for the pound sign or octomorph
(#) in this section.
You can use a null literal string “” to delimit the start of a compound string-
expression (for example, “” & #TIME;).
A triple double quote results in a single double quote being inserted in the resultant
string. Because quotes within quotes are frequently desirable for default productions, a
single quote within a double quoted literal string also results in a single double quote.
Thus, these are equivalent:
The result is a string that contains:
CALL myproc("FUP","INFO")
You can put a single quote in a string by using the #CHAR type conversion string
function. Thus, the following creates a string with a single quote.
"It" & #CHAR(39) & "s done like this" { It's done like this.
VARIABLE esc:=27;
[esc,"o","This text on line25",esc/2]; {note esc/2=13 which is a <CR>
" text " [ & string-expression ]
#s := "CALL myproc('FUP','INFO')";
#s := "CALL myproc(" & """ & "FUP" & """ & "," & """ & "INFO" & """ & ")";