Re: Re: [fpc-pascal] accessing files from a function

2011-05-16 Thread dhkblaszyk
On Mon, 16 May 2011 10:28:19 +, johnelee1...@googlemail.com wrote: > thanks all - btw it wasn't the real code just an example I made up , the while loop wasn't needed- mistake! > >But the q still remains - having three functions would still give the problem I have now- that when doing a f

Re: Re: [fpc-pascal] accessing files from a function

2011-05-16 Thread johnelee1944
thanks all - btw it wasn't the real code just an example I made up , the while loop wasn't needed- mistake! But the q still remains - having three functions would still give the problem I have now- that when doing a file_read (my function flag=1) would say 'file not open' because the handle