"Hello World" Program in APL


APL is an interesting language in that a simple hello world program can be done thus:

   'HELLO WORLD'

The above code will cause the typed text within quotes to appear on the terminal. No variables are needed, or print statements. Of course, if you want/need to store it, then:

a<-'HELLO WORLD'
a

Typing 'a' causes a's value to be printed.

APL is generally a loopless language. In general, loops like those in other HLLs such as Fortran or C (especially those whose purpose are to step through each item of a list, vector, array, etc.) aren't needed.


Back: 1951-1970