Digest #71 2019-08-04

Contributions

[102] 2019-08-03 12:56:27 mcondron wrote:

requestClarification - Environment dependence of test cases

The last two tests seem to depend on a 32-bit cell width.

Replies

[r271] 2019-08-02 06:19:29 AntonErtl replies:

proposal - Right-justified text output

: 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.


[r272] 2019-08-02 11:41:11 mcondron replies:

proposal - Right-justified text output

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?