Created
February 2, 2023 10:54
-
-
Save lievencardoen/f0a47d3e07ea9e091f09f07fe61df54e to your computer and use it in GitHub Desktop.
Write to standard output on Windows and Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Have a procedure print Hello World on the Command Line. | |
* | |
* On Windows: prowin -b -p OutputToCommand.p | tee | |
* On Unix (DLC needs to be set): _progres -b -p OutputToCommand.p | tee | |
* | |
* tee is a command in command-line interpreters using standard streams which | |
* reads standard input and writes it to both standard output and one or more | |
* files, effectively duplicating its input. It is primarily used in conjunction | |
* with pipes and filters. | |
*/ | |
PUT UNFORMATTED "Hello world" SKIP. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment