- Do we have the standard library function in
gpc
which accomplishes the below functionality of
sun
library function. open(file, pathname,
history,
error, buffer)
open associates the permanent file file with a
file
variable for reading or writing. open does not actually open the file;
Maybe "Assign" is useful.
Yes. I don't know what the latter 3 parameters do. If they're important, please explain.
please see the below link for clear desription of the open function.
http://docs.sun.com/app/docs/doc/802-2944/6i6sg5q1e?a=view#06.Built-In_Proce...
suppose if file is not found 'open' will set the error variable. But what exception/error code 'assign' will give if the file is not found.
As lot of files in my project are using open function and based on the error variable value subsequent block of code will be executed.
Regards Hari
__________________________________ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs