The PL/I Programming Language

Hello world! Example Program


Click below to go directly to a specific section:
Description | Source Code | Program Notes

Description

This program demonstrates the text output function of the PL/I programming language by displaying the message "Hello world!".

Source Code

HELLO:   PROCEDURE OPTIONS (MAIN);

             /* A PROGRAM TO OUTPUT HELLO WORLD */
             FLAG = 0;

LOOP:     DO WHILE (FLAG = 0);        
             PUT SKIP DATA('HELLO WORLD!');
          END LOOP;

END HELLO;


Program Notes

This program was not tested due to unavailablility of a compiler.
[Back] [Home]

Last modified: 03:37 PM on 11/09/1996