Issue with opening PDF file from FilePro

Fairlight fairlite at fairlite.com
Wed May 27 15:51:32 PDT 2009


The honourable and venerable Bob Rasmussen spoke thus:
> > 2.  How do I check if a file can be opened in R/W mode in FP?
> 
> I don't know this one.

The OPEN() function returns a negative number upon failure.

::rs = open("c:/some/file.pdf","rw"):
:rs lt "0":'some error handling here, could not open:

mark->
-- 
"I'm not subtle. I'm not pretty, and I'll piss off a lot of people along
the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade"


More information about the Filepro-list mailing list