Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Is the tilde special?

May
12,845
164
Below, the percent sign doesn't print when the escape character is ~. [The newline escape sequences are correctly recognized.]

Code:
v:\> type pct.btm & pct.btm
echo ^r^n%@eval[1 / 3=1]%%^r^n
setdos /e~
echo ~r~n%@eval[1 / 3=1]%%~r~n
setdos /e#
echo #r#n%@eval[1 / 3=1]%%#r#n
setdos /e^


0.3%


0.3


0.3%


v:\>
 
Back
Top