[Ohrrpgce] SVN: teeemcee/11279 Replace LOC with SEEK, because LOC is a QB quirk with incomprehensible m

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Tue Aug 20 21:58:34 PDT 2019


teeemcee
2019-08-20 21:58:34 -0700 (Tue, 20 Aug 2019)
370
Replace LOC with SEEK, because LOC is a QB quirk with incomprehensible manual page

I had to read the C code for LOC to figure out what it actually does: returns
SEEK(fh) - 1, unless the file is opened for INPUT or OUTPUT, in which case it
divides by 128!

It's much safer to just be consistent in using SEEK instead of LOC so we don't
make any mistakes due to confusion
---
U   wip/allmodex.bas
U   wip/dumpohrkey.bas


More information about the Ohrrpgce mailing list