696
Comment:
|
869
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
The simplest way to do this in APL is by starting APL and typing this: | Many programming language manuals start by showing how easy it is to write a "Hello world" program in that language. In APL we pride ourselves with the shortest ... start APL and type: |
Line 3: | Line 3: |
{{{⎕←'Hello World!'}}} | {{{'Hello World'}}} |
Line 5: | Line 5: |
However, for the rest of the world this might not qualify as a program. Aplers are used to the idea of using the session as an input/output interface. Others might not be. In mswindows for instance a program is something we can call from the '''Run...''' dialog box. | Aplers are used to the idea of using the session as an input/output interface. The rest of the world might not consider that this qualifies as a program. In mswindows for instance a program might be defined as something we can call from the '''Run...''' dialog box or set up as a shortcut on the desktop. |
Line 7: | Line 7: |
To get our program into a state where we can do that requires a choice between a number of alternative routes probably none of which will actually use {{{⎕←}}}. | To get our program into a state where we can do that requires a choice between a number of alternative routes only one of which will actually use the session. |
Line 9: | Line 9: |
Here are three possible approaches: | Here are a few possible approaches: |
Line 11: | Line 11: |
* [:HelloWorldSession:as above] |
Many programming language manuals start by showing how easy it is to write a "Hello world" program in that language. In APL we pride ourselves with the shortest ... start APL and type:
'Hello World'
Aplers are used to the idea of using the session as an input/output interface. The rest of the world might not consider that this qualifies as a program. In mswindows for instance a program might be defined as something we can call from the Run... dialog box or set up as a shortcut on the desktop.
To get our program into a state where we can do that requires a choice between a number of alternative routes only one of which will actually use the session.
Here are a few possible approaches:
[:HelloWorldSession:as above]
[:HelloWorldGui:GUI]
[:HelloWorldHtml:HTML]
[:HelloWorldOle:OLE]