protocol:
function parameters:
- int fid
- variable length argument list
- equivalent to fprintf(fp, fmt, ...)
result:
none description:
write to the open file identified by the handle 'fid'.
NOTE each parameter in the variable length parameter list is printed in its native form i.e. floats are treated as floats and integers as integers.
example:
write(fid, 3.1415, 15, "jack_%d":j)