mirror of
https://github.com/PDP-10/its.git
synced 2026-04-05 21:43:12 +00:00
19 lines
521 B
Plaintext
19 lines
521 B
Plaintext
% Hello world example for CLU.
|
|
|
|
% To make an executable:
|
|
% 1. Type :CWD HELLO to change the working directory.
|
|
% 2. Type :CLU HELLO to compile this file.
|
|
% 3. Type :CLU;CLUSYS to start the CLU runtime system.
|
|
% 4. At the runtime : prompt, type fload("hello")
|
|
% 5. Then type gc_pure_dump("hello; ts hello")
|
|
|
|
hello = proc()
|
|
file$puts (file$tyo(), "Hello CLU-less world!\n")
|
|
end hello
|
|
|
|
% The CLU runtime calls start_up. This procedure overrides the default.
|
|
start_up = proc()
|
|
hello()
|
|
quit_()
|
|
end start_up
|