Hello world! Example Program
Click below to go directly to a specific section:
Source Code |
This code demonstrates the simplicity of outputing a line of code, in this
case "Hello World."
: HELLO ."Hello World " ;
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).
Last modified: 12/10/97 3:36:38 AM