LG> DIM PATHNAME AS STRING * 81
LG> pathname = left$(pathname,instr(pathname, CHR$(0)) - 1)
LG> pathname = rtrim$(pathname)
Just a little observation:
Since there is no OS/2 version of PB as of yet (in the works, we all can
hardly wait..hehe...) no DOS path can have spaces, so ya might as
well just rtrim$(pathname, any chr$(0)+" ").
See?
If spaces are allowed in certain operating systems, different rules
apply, naturally. Meaning a path is deliminated, most often.
-James
--- QuickBBS 2.80 (Zeta-1.9A)
---------------
* Origin: [Team QuickBBS] [Team OmegaSoft] [PB Fanatic!] (1:109/611@FIDONET)
|