From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- noao/imred/tutor.cl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 noao/imred/tutor.cl (limited to 'noao/imred/tutor.cl') diff --git a/noao/imred/tutor.cl b/noao/imred/tutor.cl new file mode 100644 index 00000000..52cf6a98 --- /dev/null +++ b/noao/imred/tutor.cl @@ -0,0 +1,14 @@ +# TUTOR -- Tutorial Help + +procedure tutor (topic) + +string topic {prompt="Tutorial topic"} +string package="" {prompt="Tutorial package"} +string tutordb="helpdb" {prompt="Tutorial database"} + +begin + if ($nargs == 0) + help (package//".Tutorial", section="topics", helpdb=tutordb) + else + help (package//".Tutorial", section=topic, helpdb=tutordb) +end -- cgit