Hello world/Line printer: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 208:
CloseFile(lPrinterAsTextFile);
end.</lang>
 
=={{header|ERRE}}==
<lang ERRE>
! Hello World in ERRE language
PROGRAM HELLO
BEGIN
!$REDIR
PRINT("Hello World !")
!NOREDIR
END PROGRAM
</lang>
 
Prints on LPT1: (if exists) without opening a file
 
=={{header|Factor}}==
Line 633 ⟶ 646:
The CR+LF can simply be included in the string as shown.
Another method is to include the CR+LF control characters as ^M^J.
 
=={{header|ERRE}}==
<lang ERRE>
! Hello World in ERRE language
PROGRAM HELLO
BEGIN
!$REDIR
PRINT("Hello World !")
!NOREDIR
END PROGRAM
</lang>
 
Prints on LPT1: (if exists) without opening a file
Anonymous user