Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Character line more than 254!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00102865
Message ID:
00102965
Vues:
23
>HI,
>
>I've received a file the has variable character line lenght.
>Formated to specific input from the source client application that cannot be modified(Not the same company).
>
>Information can be read as follow on one line:
>
>FieldsName Lenght
>AdType 1
>AdInfo 25
>AdDescr 150
>etc
>etc
>
>
>The line can easyly exceed 254 characters?
>
>Problem
>I cannot access information exceeding 254.
>
>I there a way i can access?
>
>I tried setting the memowidth to 1024, but no use.
>
>Any help from any one will be greatly appreciated.
>Thanks
>Bye


You don't specify the way you get the line,
but i assume you use FGETS().

If it's really the case, you can add a number as second parameters to
read lines wider than 254 chars.

lcLine=FGETS(FileHandle,nBytes)

;0)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform