Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy To..
Message
From
21/11/2001 12:31:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00584566
Message ID:
00584575
Views:
25
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform