open. Opening or creating

^hashfile::open[file name]

Opens existing disk file or creates a new one.
Currently to keep data two files are used, with extensions .dir and .pag.

Note: file can be changed only by one script at a time, others are waiting for it to complete processing of request. Before changing script waits all others scripts to stop reading.

Note: it is not allowed to open same file twice.



Copyright © 1997–2021 Art. Lebedev Studio | http://www.artlebedev.com Last updated: 25.11.2005