Hi, compiling this program with 1.0.10 give me error "Type mismatch". var outf: file of byte; begin assign(outf, 'test.bug'); rewrite(outf); write(outf, 10); {only explicit typecasting helps: byte(10)} close(outf); end. Is this fixed in 1.9? Martin Smat.