]> gitweb.factorcode.org Git - factor.git/blob - demos/hello-world.factor
more sql changes
[factor.git] / demos / hello-world.factor
1 ! This is a bit more complex than the simplest hello world,
2 ! which is:
3 !   "Hello World" print
4 ! Instead, we define a module, and a main entry hook; when you
5 ! run the module in the listener with the following command,
6 !   "demos/hello-world" run-module
7 ! It prints the above message.
8
9 USING: io ;
10 PROVIDE: demos/hello-world ;
11 MAIN: demos/hello-world "Hello World" print ;