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:
parent
2a3a69656e
commit
7c00f480a9
@ -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
13
src/hello/hello.mud
Normal 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>
|
||||
Loading…
x
Reference in New Issue
Block a user