String Literal

<string literal>

  ┌◄────────────────────────┐
──┴─<simple string literal>─┴──────────────────────────────────────────┤

<simple string literal>

──┬─<binary code>── " ──<binary string>── " ───────────┬───────────────┤
  ├─<quaternary code>── " ──<quaternary string>── " ───┤
  ├─<octal code>── " ──<octal string>── " ─────────────┤
  ├─<hexadecimal code>── " ──<hexadecimal string>── " ─┤
  ├───────────────┬─ " ──<EBCDIC string>── " ──────────┤
  ├─<EBCDIC code>─┘                                    │
  └─<ASCII code>── " ──<ASCII string>── " ─────────────┘

<binary code>

──┬─ 1 ───┬────────────────────────────────────────────────────────────┤
  ├─ 10 ──┤
  ├─ 12 ──┤
  ├─ 120 ─┤
  ├─ 13 ──┤
  ├─ 130 ─┤
  ├─ 14 ──┤
  ├─ 140 ─┤
  ├─ 16 ──┤
  ├─ 160 ─┤
  ├─ 17 ──┤
  ├─ 170 ─┤
  ├─ 18 ──┤
  └─ 180 ─┘

<binary string>

  ┌◄────────┐
──┴─┬─ 0 ─┬─┴──────────────────────────────────────────────────────────┤
    └─ 1 ─┘

<quaternary code>

──┬─ 2 ───┬────────────────────────────────────────────────────────────┤
  ├─ 20 ──┤
  ├─ 24 ──┤
  ├─ 240 ─┤
  ├─ 26 ──┤
  ├─ 260 ─┤
  ├─ 27 ──┤
  ├─ 270 ─┤
  ├─ 28 ──┤
  └─ 280 ─┘

<quaternary string>

  ┌◄────────┐
──┴─┬─ 0 ─┬─┴──────────────────────────────────────────────────────────┤
    ├─ 1 ─┤
    ├─ 2 ─┤
    └─ 3 ─┘

<octal code>

──┬─ 3 ───┬────────────────────────────────────────────────────────────┤
  ├─ 30 ──┤
  ├─ 36 ──┤
  └─ 360 ─┘

<octal string>

  ┌◄──────────────────┐
──┴─<octal character>─┴────────────────────────────────────────────────┤

<octal character>

──┬─ 0 ─┬──────────────────────────────────────────────────────────────┤
  ├─ 1 ─┤
  ├─ 2 ─┤
  ├─ 3 ─┤
  ├─ 4 ─┤
  ├─ 5 ─┤
  ├─ 6 ─┤
  └─ 7 ─┘

<hexadecimal code>

──┬─ 4 ───┬────────────────────────────────────────────────────────────┤
  ├─ 40 ──┤
  ├─ 47 ──┤
  ├─ 470 ─┤
  ├─ 48 ──┤
  └─ 480 ─┘

<hexadecimal string>

  ┌◄────────────────────────┐
──┴─<hexadecimal character>─┴──────────────────────────────────────────┤

<hexadecimal character>

──┬─ 0 ─┬──────────────────────────────────────────────────────────────┤
  ├─ 1 ─┤
  ├─ 2 ─┤
  ├─ 3 ─┤
  ├─ 4 ─┤
  ├─ 5 ─┤
  ├─ 6 ─┤
  ├─ 7 ─┤
  ├─ 8 ─┤
  ├─ 9 ─┤
  ├─ A ─┤
  ├─ B ─┤
  ├─ C ─┤
  ├─ D ─┤
  ├─ E ─┤
  └─ F ─┘

<EBCDIC code>

──┬─ 8 ──┬─────────────────────────────────────────────────────────────┤
  └─ 80 ─┘

<EBCDIC string>

          ┌◄───────────────────────────────────────────────┐
──┬─────┬─┴─ any <EBCDIC character> except quotation mark ─┴─┬─────────┤
  ├─ " ─┘                                                    │
  └─ " ──────────────────────────────────────────────────────┘

<EBCDIC character>

Any one of the 256 possible EBCDIC characters.

<ASCII code>

──┬─ 7 ──┬─────────────────────────────────────────────────────────────┤
  └─ 70 ─┘

<ASCII string>

          ┌◄──────────────────────────────────────────────┐
──┬─────┬─┴─ any <ASCII character> except quotation mark ─┴─┬──────────┤
  ├─ " ─┘                                                   │
  └─ " ─────────────────────────────────────────────────────┘

<ASCII character>

Any one of the 128 possible ASCII characters.

<printable character>

Any <letter>, any <digit>, any <special character>, or a blank.

<special character>

Any one of the following characters:

   @ at            ( left parenthesis      ! exclamation point
   # number        ) right parenthesis     ? question mark
   $ dollar        [ left bracket          ' apostrophe (single quote)
   % percent       ] right bracket         + plus sign
   & ampersand     { left brace            - minus sign (hyphen)
   * asterisk      } right brace           | split bar
   = equal sign    < less than             ~ tilde
   , comma         > greater than          ^ circumflex (carat)
   ; semicolon     / slash                 ˋ grave accent
   : colon         \ backslash             " quotation mark
   . period        _ underscore