Originally Posted by bigmac(rexdale) oh ok, so fclose after i return fp? and i made the changes ...no. Once you return, your function is done. return() does just that - it returns the execution flow back to the calling function. You do not fclose() at all. That's the calling function's job.
Originally Posted by Lithorien ...no. Once you return, your function is done. return() does just that - it returns the execution flow back to the calling function. You do not fclose() at all. That's the calling function's job. oh, thanks man helped me out alot