techReopenTechFile
techReopenTechFile(d_techIDt_mode) => t / nil
Description
Changes the mode of a technology database that has been opened. Use this function to upgrade the mode from r (read only) to a (append).
Mode changes other than from read to append are not recommended. If you change the mode from read or append to write, the contents of both the disk file and virtual memory are deleted. If you change the mode from append or write to read, the database contents are not refreshed and you are not prompted to save your changes when you exit.
Arguments
|
The mode in which to reopen the database.
Valid values: |
Value Returned
|
The technology database does not exist or is already open in append or write mode. |
Example
techReopenTechFile(techID "a")
=> t
Reopens the technology database identified by techID in a (append) mode so you can edit it.
Return to top