Hello world/Line printer: Difference between revisions

Content added Content deleted
(→‎{{header|Perl 6}}: on second thought, it's best to first show the simplest way, then the "clever" way doesn't even need much explanation.)
Line 304: Line 304:


: type ( addr count -- ) \ type a string uses emit
: type ( addr count -- ) \ type a string uses emit
bounds ?do i c@ emit loop ; \ type is used by ." (see usage examples below)
bounds ?do i c@ emit loop ; \ type is used by all other text output words in the system


HEX
HEX