FB II Compiler

PG PRO

Debugging

Memory

System

Mathematics

Resources

Disk I/O

Windows

Controls

Menus

Mouse

Keyboard

Text

Fonts

Drawing

Sound

Clipboard

Printing

Communication

ASM

Made with FB

DISK I/O

Write a single byte to a file


Try :

WRITE FILE #1, @singleByte,1:' it writes the single byte to disk.

Mel Patrick


try:

print #1, chr$(byte);

What's even better is to make a pointer the size of your file, poke everything you need into a pointer, and write the entire pointer to disk. That is if you're writing a program to make your own file type compatible with other formats.

TJ Grant