Table 1 shows the forms
of a graphic string constant in an EBCDIC environment. In
Table 1,
"DBCS G" represents a DBCS G
X'42C7' and "DBCS-apostrophe" represents
a DBCS apostrophe
X'427D'.
Table 1. Graphic string constants in EBCDIC
| Context |
Graphic String Constant |
Empty string |
Example |
| PL/I |
shift-out character "DBCS-apostrophe" dbcs-string "DBCS-apostrophe"
"DBCS G" shift-in character |
shift-out character "DBCS-apostrophe" "DBCS-apostrophe"
"DBCS G" shift-in character |
shift-out character "DBCS-apostrophe"
two kanji characters "DBCS-apostrophe" "DBCS G" shift-in character |
| shift-out character "DBCS-apostrophe" dbcs-string "DBCS-apostrophe"
shift-in character G |
shift-out character "DBCS-apostrophe" "DBCS-apostrophe"
shift-in character G |
| All other contexts |
G apostrophe shift-out character dbcs-string shift-in
character apostrophe |
G apostrophe shift-out character shift-in character
apostrophe or G apostrophe apostrophe or g apostrophe shift-out character
shift-in character apostrophe or g apostrophe apostrophe |
G apostrophe shift-out character two kanji
characters shift-in character apostrophe |
| N apostrophe shift-out character dbcs-string shift-in
character apostrophe |
N apostrophe shift-out character shift-in character
apostrophe or N apostrophe apostrophe or n apostrophe shift-out character
shift-in character apostrophe or n apostrophe apostrophe |
End Figure description.