[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with 64-bit numbers



>  Date: Sat, 20 Apr 1996 07:18:43 -0400 (EDT)
>  From: Michael Griebling <grieblm@inforamp.net>
>  ...
>  >A  WriteNum-method  can easily be added to the BinaryRiders module.
>  >I (at least) didn't think that much about compatability between
>  >Oberon-2/OOC systems, compatability with other programs on the host
>  >platform seeming more important to me. But then, I am only running
>  >an Oberon _system_ a month or two now.
>  
>  This is more than just an Oberon system compatibility issue since this
>  may be the best way of generating portable datafiles even if we just
>  use OOC.

Sometimes you want to have data files whose entries have a fixed
position.  In this case you can't use WriteNum, since the number of
written bytes depends on the value.  WriteNum is portable, but it
isn't always appropriate.

-- mva