Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading in an ascii file with FOPEN()
Message
From
05/03/1999 14:08:13
 
 
To
05/03/1999 12:37:42
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00194312
Message ID:
00194650
Views:
20
>And a little warning if you ever choose to use memo file in between. W/o using lowlevel a memo max line width is 1024 AFAIK (hope I'm wrong and changed). If what I know is true, that would mean you wouldn't be able to use a recordsize > 1024 w/o extra care (such as using recsize instead of mline()).

Under VFP6 at least, I can retrieve up to 8192 - beyond that, it truncates the line, even though the memo can BIG. The following demonstrates the limit under VFP6:

CREATE TABLE TEMP (TempMemo M)
APPEND BLANK
REPLACE TempMemo WITH REPL('ABCD',5000)
cTempBefore = MLINE(TempMemo,1)
SET MEMOWIDTH TO LEN(TempMemo)
cTempAfter=MLINE(TempMemo,1)
? LEN(cTempBefore), LEN(cTempAfter), LEN(TempMemo)
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform