The APL Programming Language

Hello world! Example Program


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

Description

As anyone who studies computer science knows, the first program that you usually see when studying a new language is the Hello World! Program. This program demonstrates the text output function of the APL language by displaying the message "Hello world!".

Source Code

@ This program is very simple in APL!

'Hello World!'

@ In APL, anything that is printed in quotes is printed to the terminal. (@ in APL signifies a comment)

@ If the "Hello World statement needed to be stored, then you could use the following :
h<-'Hello World'
h

@Typing h causes h's value to be printed to be printed.


Sample Run


Hello World!


Program Notes

This program was tested and run using an APL*PLUS compiler from Freeware.
This program was supplied thanks to
the Hello World page
[Back] [Home]

Last modified: 10:00 PM on 11/24/1996