Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parsing a file that's not quite comma-delimited
Message
De
10/07/2007 14:41:17
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
10/07/2007 12:50:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01238841
Message ID:
01239033
Vues:
19
That was incredibly nice of you Steve. Thanks!

I have an error on this line when trying to run it:
		oTemp = NEWOBJECT('ColManager','coll.vcx')
It can't find the class, but I put the class files in the same directory as the program. I also set classlib to it. Then I tried using the code-based (non-vcx) version that I got using the class browser, but I'm not sure of the call syntax when it is defined in the program as opposed to the VCX.

UPDATE: Got it! Just had to leave out the coll.vcx part of the NEWOBJECT. Thanks again!

>>>Very similar to EDI. Is there always a CR, LF, or some sort of character at the end of each record (which is called a segment in EDI terms)?
>>
>>I haven't seen the output specs in detail, but it looks like there is. Peter posted some code that looks like a good start. Did you have any other ideas?
>
>Okay, this code requires uses Vlad's collection class: Download #9858 < update > Hmmm...apparently I've made some sort of change to his class. Maybe it will work as is.
>
>The edisegment class below probably could use some improvement, but it works. This is just an example showing how it parses.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform