Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
About exclusive use....
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00449722
Message ID:
00450075
Views:
28
>
>fh=fopen(filetopack,12)
>if fh>0 and fclose(fh)
>  ** Ok to open exclusively
>endif
>
>But the error checking approach is more reliable and more generic.

I don't know about "more generic" Nadya, the one reason I still use this technique is that I've used it in every language I've programmed in since mainframe days, even those without any error handlers. It's almost identical to code in any language, ultimately transportable. For that reason, I would say this method is more generic...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform