Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy To..
Message
De
21/11/2001 12:31:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00584566
Message ID:
00584575
Vues:
26
>I want to create a binary file to be sent to a mainframe. Can VFP do this?

With low-level file functions, you can control every aspect of the output.
* Sample
lnFile = fcreate("output.bin")
scan && or some other looping construct
  fwrite(lnFile, SomeCharacterExpression)
endscan
fclose(lnFile)
HTH, HIlmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform