TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: RONALD SCHLEGEL
from: STEVEN WILLIAMS
date: 1996-05-21 10:05:00
subject: DAT files

On , Ronald Schlegel wrote to All :
RS> Hello....
RS>  
RS>   I have a question that I've been "fighting" for quite some time.
RS> I am trying to extract a pathname from a *.DAT file. This pathname is 
ust
RS> called out as a directory (ie C:\BBS), but in the dat file, it is 
RS> declared as
RS> a "STRING * 81". How can I "strip" the spaces from the right? I have 
ried
RS> RTRIM$ (among others) with no luck at all. What I need to be able to do 
s
RS> to use the directory name & "tack on" a filename.
    have you tried stripping chr$(0) with the rtrim$?
RS>  
RS> Thanks in advance...
RS> -Ron
RS>  
RS> ... If you throw mud,  you will have dirty hands.
RS> 
RS> --- TriToss (tm) Professional 10.0 - #229
---
---------------
RS> * Origin: * Dynasty BBS * The home of Dungeon Software * (1:110/1065.0)
* Origin: the River Styx, Killeen, TX (817)618-5823 {V.34} (1:395/61)

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™.