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
DEFINE VARIABLE text-memptr AS MEMPTR NO-UNDO. | |
COPY-LOB FROM FILE "build.properties":U TO text-memptr. | |
MESSAGE GET-STRING(text-memptr, 1) | |
VIEW-AS ALERT-BOX. |
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
DEFINE VARIABLE ContentsFile AS CHARACTER NO-UNDO. | |
INPUT FROM VALUE(SESSION:TEMP-DIRECTORY + "/test.txt":U). | |
DO WHILE TRUE ON ENDKEY UNDO, LEAVE: | |
IMPORT UNFORMATTED ContentsFile. | |
END. | |
INPUT CLOSE. |
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. |