Consultor Eletrônico



Kbase P27229: How to escape the tilde '~' and other special characters in Progress?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   4/1/2011
Status: Verified

GOAL:

How to escape the tilde '~' and other special characters in Progress?

FACT(s) (Environment):

Progress/OpenEdge Product Family
All Supported Operating Systems

FIX:

The tilde (~) special character causes Progress to read the following character literally. A tilde followed by three octal digits represents a single character.

The following lists the Progress special characters that are escaped using the tilde including the tilde itself. All the items listed below are case sensitive.

Sequence Interpreted Comment
~" " Use within quoted strings as alternative to ("").
~' ' Use within quoted strings as alternative to ('').
~~ ~ -
~\ \ -
~{ { -
~nnn One character Where nnn is an octal value between 000 and 377.
~t Tab character Octal 011
~r Carriage return Octal 015
~n New line / Line feed Octal 012
~E Escape Octal 033
~b Backspace Octal 010
~f Form feed Octal 014