Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reblocking data output
Message
De
08/04/1997 16:58:46
Josh Godinez
Teletech Holdings, Inc.
Burbank, Californie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Reblocking data output
Divers
Thread ID:
00027493
Message ID:
00027493
Vues:
65
I've never seen anyone discuss it before, so I don't know if anyone else has used this particular trick. I have some output that I compile and need to reblock to 80 characters before it is transmitted. In order to see the entire layout in one structure I created one structure for the entire thing. Since the output is 80-byte blocked the fields already end at 80 character spaces (no middle of the field wrapping). I simply inserted a 2 character field after the 80th character and stored a carriage return, line feed sequence in the field. Then, using copy to ... I copy out the data and the carriage return is used so that the final output is blocked to 80 bytes even though my original layout was 400 bytes long.
Répondre
Fil
Voir

Click here to load this message in the networking platform