Hello world! Example Program

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


This code demonstrates the simplicity of outputing a line of code, in this case "Hello World."

Source Code

: HELLO ."Hello World " ;

Program Notes

I used the free Forth compiler called F-PC(link previous page). Follow the help file instructions in the help directory to make this work. Basically create a file with a .seq ending, for example hi.seq. Type the code above into the text file and save it. Then load it, however the compiler you are using loads forth files and then type "HELLO" (case sensitive).
[Back] [Home]

Last modified: 12/10/97 3:36:38 AM