Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Recommendations on how to parse log file?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01294309
Message ID:
01294359
Vues:
12
Garrett,

>The way I'm doing it now breaks it up so that it's slightly more readable (White Space Is Your Friend), but I'm not completely happy with it. Something that would make me happier would be to be able to show the nesting more obviously, but with two windows and a scrollbar, that's hard to do.

Tabs are also White Space, why don't you befriend them <g>

A simple solution, if you do not want to add more controls, is to have something like lnLevel = 0 to start and each time you detect a nesting you increment the level (or decrement), and you start all your lines of text with Replicate(Chr(9), lnLevel)
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform