Hi,
Your assertion about efficient utilization of FOpen() may be correct,
however, my reply did not focus on that, I just tried to show a way
to resolve the compilation error. For the validity and/or effectiveness
of code, responsible is solely the coder. ;-)
regards,
Pete