diff options
Diffstat (limited to 'appl/alphabet/main/wait.b')
| -rw-r--r-- | appl/alphabet/main/wait.b | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/appl/alphabet/main/wait.b b/appl/alphabet/main/wait.b new file mode 100644 index 00000000..04bf88c6 --- /dev/null +++ b/appl/alphabet/main/wait.b @@ -0,0 +1,35 @@ +implement Wait, Mainmodule; +include "sys.m"; + sys: Sys; +include "draw.m"; +include "sh.m"; +include "alphabet/reports.m"; +include "alphabet.m"; + alphabet: Alphabet; + Value: import alphabet; + +Wait: module {}; + +typesig(): string +{ + return "sr"; +} + +init() +{ + sys = load Sys Sys->PATH; + alphabet = load Alphabet Alphabet->PATH; +} + +quit() +{ +} + +run(nil: ref Draw->Context, nil: ref Reports->Report, nil: chan of string, + nil: list of (int, list of ref Alphabet->Value), + args: list of ref Alphabet->Value): ref Alphabet->Value +{ + r := (hd args).r().i; + r <-= nil; + return ref Value.Vs(<-r); +} |
