"mdsi2000" <mdsi2000 (AT) yahoo (DOT) com> wrote
Quote:
With Unidata you can OPEN a file with the READONLY argument. Does
Universe have something similar? I don't see anything in the docs.
I want to be able to prevent users from modifying history records, but
modify current records. I know it could modify the program, but I want
the easy way out.
Pete
How about replacing the true file with a qpointer to a directory
|
on the underlying operating system; then leave that write-protected
in linux/windows/whatever except briefly when legit progs need to update it?
Or, you could hang a basic subroutine on its data section D-pointer item to
deny updates to the data section whenever it finds a certain named item in
the dict section. Or enable writes only if SYSTEM(39) sees speller checking
is briefly enabled for that line, though site-wide you usually disable it...
The D3 ACCESS() function will be very handy in this sort of subroutine.