TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: JAMES GOLDBLOOM
from: LAWRENCE GORDON
date: 1996-05-23 06:22:00
subject: Re: DAT files

Quoting James Goldbloom to Lawrence Gordon:
 LG>  DIM PATHNAME AS STRING * 81
 LG>  pathname = left$(pathname,instr(pathname, CHR$(0)) - 1)
 LG>  pathname = rtrim$(pathname)
JG> Just a little observation:
JG> Since there is no OS/2 version of PB as of yet (in the works, we all can
JG> hardly wait..hehe...) no DOS path can have spaces, so ya might as
JG> well just rtrim$(pathname, any chr$(0)+" ").
JG> See?
JG> If spaces are allowed in certain operating systems, different rules
JG> apply, naturally.  Meaning a path is deliminated, most often.
I'm not testing for blanks in the pathname, James. I'm testing for blanks in 
the pathname =variable=.
How about this:
pathname = rtrim$(left$(pathname,instr(pathname, CHR$(0)) - 1))
 * WCE 2.1G1/2081 * 
--- InterEcho 1.18
---------------
* Origin: Toast House * (314) 994-0312 * (1:100/560)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.