home *** CD-ROM | disk | FTP | other *** search
- /* this macro will get the current filename from TxEd, tell Txed to
- * save it and then tell HT to load it.
- */
-
- /* so we get strings back from TxEd */
- options results
- 'STATUS D'
- dir = result
-
- 'STATUS F'
- fname = result
-
- if dir ~= "" then do /* need to prepend directory */
- volume = lastpos(':', dir)
- path_sep = lastpos('/', dir)
- if volume > path_sep then
- fname = dir'/'fname
- else
- fname = dir | fname
- end
-
- /* this is so we don't get all those AREXX macro error messages in TxEd */
- address
- call startht.rexx()
-
- address
- 'SAVEAS' fname
-
- address HT LOAD fname
-