#Modula-2
BCPL is yet another language. (It is one of the ancestors of C.)
I've never used it so I can't tell you anything else about it.
A file lock is a pointer to a data structure that AmigaDOS uses to
locate the file. But from the program side it normally doesn't matter what
it is (other than it being a 32 bit number) since there normally isn't any
reason for a program to reference anything off that pointer. It is just
passed to AmigaDOS as a parameter in various i/o calls. If you really want
to know what is in the file lock structure you should look it up in the
header files that come with one of the C's or in the RKM (I think it is in
the RKM, not positive though). When you start looking at the various
AmigaDOS data structures you will find that they contain a mixture of
normal pointers and BPTRs, and it is a big job keeping track of which is
which.