home *** CD-ROM | disk | FTP | other *** search
- /* this is a sample rexx macro to dump a file right into HT.... */
-
- /* now get the filename we were called with */
- parse arg name
-
- /* if we don't have a full path name, build one... */
- if (index(name, ":") = 0 & index(name, "/") = 0) then do
- cur_dir = pragma(D)
-
- if length(cur_dir) > lastpos(':' , cur_dir) then
- name = cur_dir || '/' || name
- else
- name = cur_dir || name
- end
-
- /* make sure HT has started up... */
- call startht.rexx()
-
- /* and tell HT to load it */
- address HT LOAD name
-
- /* we're done */
- exit
-
-
-
-