protocol:
function parameters:
- string filename
- string mode
- where mode is "r", "w", "a", "r+", "w+" or "a+" (as defined for the standard c library fopen function)
result:
none description:
open file "filename" in mode 'mode' returning a handle 'fid' to the open file suitable for use by the associated file read, write and close functions.
example:
fid = open("temp", "w")