Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!pasteur!ucbvax!hplabs!sdcrdcf!csun!polyslo!dgiles From: dgiles@polyslo.UUCP (Darren Giles) Newsgroups: comp.sys.apple Subject: TML Pascal problem solved Message-ID: <2144@polyslo.UUCP> Date: 29 Apr 88 08:29:09 GMT Reply-To: dgiles@polyslo.UUCP (Darren Giles) Organization: Cal Poly State University -- San Luis Obispo Lines: 11 I finally figured out the solution to the problem of addressing individual bytes in a file. Not only do the bytes to be written out have to be of the right type (TYPE byte= 0..255), but the file itself have to be of the right type (and 0..255 doesn't work, but 0..127 does, for some bizzare reason). Don't get me wrong here - I love TML Pascal - but if you define a file as type char, what possible reason would there be for wasting an extra byte for each character (it stores characters as two bytes)? - Darren