[Gambas-user] Documentation for LOCK
hans at gambas-buch.de
Tue Oct 30 12:14:03 CET 2018
I am working on a chapter "Paths in Gambas" for the Gambas book in
connection with the stream & input/output functions.
The documentation says:
/Beware that the locked file is emptied! So never use a file whose
contents is important./
But when I execute the following statement:
Public hLockFile As Stream
Try hLockFile = Lock Desktop.DataDir &/ "gambasbook/test.txt"
then the file is not emptied. Is the documentation faulty?
More information about the User