1
0
mirror of https://github.com/PDP-10/its.git synced 2026-01-13 07:19:57 +00:00

Hello world sample file for Muddle.

This commit is contained in:
Lars Brinkhoff 2020-09-27 14:29:27 +02:00
parent 2a3a69656e
commit 7c00f480a9
2 changed files with 15 additions and 0 deletions

View File

@ -66,6 +66,8 @@ Hello, muddled world!
:KILL
```
The sample program can be found in the HELLO directory.
### More Information
For more information, see these documents:

13
src/hello/hello.mud Normal file
View File

@ -0,0 +1,13 @@
;"Hello world example for Muddle. Load this file with FLOAD to make a"
;"HELLO SAVE file which can later be loaded into Muddle with RESTORE."
<DEFINE HELLO ()
<PRINC "Hello, muddled world!">
<TERPRI>
<QUIT>>
<DEFINE SAVE-IT ()
<COND (<=? <SAVE "HELLO SAVE"> "SAVED"> <QUIT>)>
<HELLO>>
<SAVE-IT>