Re: [Tutor] passing results between functions

2012-04-27 Thread Gerhardus Geldenhuis
Thank you for all the replies. Having reread my question it is clear that it is not as well constructed as it should be. I will have a bit more of a think with regards to what I want to achieve and then if required rephrase my question. Best Regards On 25 April 2012 19:12, Alan Gauld wrote: >

Re: [Tutor] passing results between functions

2012-04-25 Thread Alan Gauld
On 25/04/12 10:36, Gerhardus Geldenhuis wrote: Hi I wrote two functions which does different manipulations on text files. To start out with I passed the filename as a parameter and each function opened the file and saved it. I assume you mean it did some processing on the file data and then wr

Re: [Tutor] passing results between functions

2012-04-25 Thread Dave Angel
On 04/25/2012 05:36 AM, Gerhardus Geldenhuis wrote: > Hi > I wrote two functions which does different manipulations on text files. > > To start out with I passed the filename as a parameter and each function > opened the file and saved it. > > I then realized I would need to do that twice Do what

[Tutor] passing results between functions

2012-04-25 Thread Gerhardus Geldenhuis
Hi I wrote two functions which does different manipulations on text files. To start out with I passed the filename as a parameter and each function opened the file and saved it. I then realized I would need to do that twice if I wanted to use both my functions on the same file. I the modified the