kokyo Posted September 13, 2007 Posted September 13, 2007 I write a script with a while~wend loop. It will stop running a couple of hours later with error message of "Error: Unable to open file, the maximum number of open files has been exceeded." I use file access relate functions like FileOpen, FileWriteLine, FileClose, FileGetTime, FileReadLine, Run and SouldPlay between while~wend loop. It's about 1 loop every second. Does anyone know what's the problem? Thanks a lot.
smashly Posted September 13, 2007 Posted September 13, 2007 Hi, Post some code related to your problem please, it'll make it easier to see what's going wrong. Cheers
DjDeep00 Posted September 13, 2007 Posted September 13, 2007 Sounds like you are not using "FileClose" to close the file after you do anything with it.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now