Page 1 of 1

Declare file in Subprogram

PostPosted: Tue Sep 10, 2019 10:19 pm
by ravi11081992
Folks,

I got one weird requirement to use the file in subprogram
But not in main program

I need to declare, open, write and close in subprogram

Please help me out how I can code this

Thanks

Re: Declare file in Subprogram

PostPosted: Wed Sep 11, 2019 12:06 am
by Robert Sample
I need to declare, open, write and close in subprogram

Please help me out how I can code this
Have you tried this yet? If so, what results did you get? If not, why have you not tried it yet?