Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Rexx Programming/How to Rexx/literal character

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Special characters cannot be directly included in a literal string Special characters, such as controlcharacters or metacharacters cannot be included directly in a string value because these characters have a special meaning to the rexx interpreter, and including them directly will cause misinterpretation of the script. These characters can be inserted as literal characters by using hexstring notation: Literal character representation digraphs are not supported The rexx language does not support the use of character representation digraphs using a backslash: say "first line\nsecond line" # This will not interpolate to include a newline Hexstring notation Hexstring notation allows ascii code sequences to be used to represent literal characters within a string: lf = '0A'x cr = '0D'x greeting = '48656C6C6F'x /* Hello */