Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to search for nonprintable char in a file
Message
From
22/09/2008 14:40:51
 
 
To
22/09/2008 14:33:42
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01349578
Message ID:
01349587
Views:
15
>Thanks, I think I figured it out -
>x=filetostr(database.fpt)
>= alines(myarr,x,1,chr(1))
>
>VFP is wonderful. There are almost 1 million lines in the fpt file and this parses itself out in less than 30 seconds.

Are you sure that gives you what you want? The final parameters specify the end-of-line sequence. Your original post said the sequence occurs at the begining. IAC I'd use CHR(1),CHR(0),CHR(0) for the parse character sequence.
Previous
Reply
Map
View

Click here to load this message in the networking platform