16 lines
1.3 KiB
Rexx
16 lines
1.3 KiB
Rexx
aa = 10 /*assigns chars 10 ───► AA */
|
|
bb = '' /*assigns a null value ───► BB */
|
|
cc = 2*10 /*assigns chars 20 ───► CC */
|
|
dd = 'Adam' /*assigns chars Adam ───► DD */
|
|
ee = "Adam" /*same as above ───► EE */
|
|
ff = 10. /*assigns chars 10. ───► FF */
|
|
gg = '10.' /*same as above ───► GG */
|
|
hh = "+10" /*assigns chars +10 ───► hh */
|
|
ii = 1e1 /*assigns chars 1e1 ───► ii */
|
|
jj = +.1e+2 /*assigns chars .1e+2 ───► jj */
|
|
kk = '123'x /*assigns hex 00000123 ───► KK */
|
|
kk = 'dead beaf'X /*assigns hex deadbeaf ───► KK */
|
|
ll = '0000 0010'b /*assigns blank ───► LL (ASCII) */
|
|
mm = '0000 0100'B /*assigns blank ───► MM (EBCDIC)*/
|
|
cat = "Honest as the Cat when the meat's out of reach."
|
|
/*assigns a literal ───► cat */
|