Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reading in an ascii file with FOPEN()
Message
De
05/03/1999 14:08:13
 
 
À
05/03/1999 12:37:42
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00194312
Message ID:
00194650
Vues:
22
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform