TIP: Click on subject to list as thread! ANSI
echo: clipper
to: BEN CAVANAGH
from: ERIK WACHTMEESTER
date: 1998-04-06 07:56:00
subject: Text File

Reply-To: erik.wachtmeester@bighole.iaf.nl
Ben Cavanagh wrote in a message to All:
 BC> I want to read the text file line by line and add each lines into the
 BC> DBF file. Like readln() in Pascal
 BC> Is it possible to do that with fread() and freadstr() ?
Yes, but keep in mind that fread() and freadstr() act more like blockread() 
n
Pascal. You'll have to check for end of line markers (chr(13)+chr(10)) 
yourself.
Regards,
Erik 
--- ifmail v.2.13-tx8.7
---------------
* Origin: May it be on this earth? (2:283/7.2)

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