home *** CD-ROM | disk | FTP | other *** search
- /*
- SplitFileName.rexx
- This macro will separate the filename from a pathname
- */
-
- parse arg pathname
-
- colon = lastpos('/', pathname)
- if colon = 0 then colon = pos(':', pathname)
-
-
- if colon = 0 then return("")
- else return(left(pathname, colon))
-