Closed fabervox closed 7 years ago
The error was in the scope, local inside if ... end is not available above. And the name of the variable has been changed, just that there were no coincidences between the names of the function and the variable, this is not necessary, but to do so as it was immediately a bad practice.
Okay, the only problem i see is that you can't close the file handler and then call a read upon it:
fileClose( file ) return fileRead( file, size )
Is incorrect.
Why did you change the variable names?