Sign in to follow this  
Followers 0
Hypertrophy

having trouble opening file

2 posts in this topic

im using FileOpen("myfile.txt", 0) to try to open a file and it keeps returning -1. the file though is constantly being written to so maybe that has something to do with it? I dont know what to do. even if its being written to shouldn't i still be able to open it?

Share this post


Link to post
Share on other sites



im using FileOpen("myfile.txt", 0) to try to open a file and it keeps returning -1. the file though is constantly being written to so maybe that has something to do with it? I dont know what to do. even if its being written to shouldn't i still be able to open it?

From the helpfile

A file can only be in either read or write mode; it cannot be in both.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0