Digest #71 2019-08-04
The last two tests seem to depend on a 32-bit cell width.
: rtype ( c-addr u u2 -- ) \ print string represented by c-addr u right-justified in a u2-wide field over - 0 max spaces type ;
This prints the full string if it is too wide; adjust as necessary if you want to truncate it in some way.
Thanks for the example! I am proposing that something like that be added to the standard. Since there are right-justified output words for numbers, why not also have it for text?