FREEFILE function
Purpose: The FREEFILE function returns a handle that is not being used and assigns it to FileHandle.
hFile = FREEFILE
Parameters:
Example:
MyIO = FREEFILE OPEN "Test.txt" FOR OUTPUT AS MyIO CLOSE MyIO