8 bit os_f handles

Rick Hudson rick at actrix.gen.nz
Sat Mar 25 11:26:54 GMT 2000


In message <898a9ca449%rick at rick.actrix.gen.nz> 
          Rick Hudson <rick at actrix.gen.nz> wrote:

> In message <Marcel-1.53-0325003740-e616#xE at druck.freeuk.com>
>           "David J. Ruck" <druck at freeuk.com> wrote:
> 
>> I dont know if this has been raised before, but I do not think os_f should
>> be an 8 bit type.
> 
> I would have to agree with this though the reason it bothers me is not so
> much for future proofing (which is a good reason anyway) but I've had cause
> to have variables holding a font handle which I would sometimes like to
> have 'special' values. Most notably for telling functions to use the
> current font or desktop font instead of a specific font. For this I find
> myself having to declare variables as ints to allow negative numbers to be
> held.

Um, please ignore that. It just realised that os_f is for file handles and
not font handles! I suppose the principle is the same since it's also defined
as a byte so perhaps some of what I said could be salvaged. :-\

-- 
Rick Hudson                                                rick at actrix.gen.nz
                                         http://www.actrix.gen.nz/users/rick/



More information about the oslib-user mailing list