Character codes: Difference between revisions

m
→‎{{header|REXX}}: added two comments about the literal type can be upper or lowercase. -- ~~~~
m (→‎{{header|REXX}}: added comment about the c2b bif. -- ~~~~)
m (→‎{{header|REXX}}: added two comments about the literal type can be upper or lowercase. -- ~~~~)
Line 694:
<lang rexx>yyy='c' /*assign a lowercase c to YYY.*/
yyy='34'x /*assign hexadecimal 34 to YYY.*/
/*the X can be upper/lowercase.*/
yyy=x2c(34) /* (same as above) */
yyy='00110100'b /* (same as above) */
yyy='0011 0100'b /* (same as above) */
/*the B can be upper/lowercase.*/
yyy=d2c(97) /*assign decimal code 97 to YYY.*/