rebol[]while [a: input] [w: 0 foreach i a[w: w + do i]print to-char w / length? a]
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page