User avatar
SavagePi
Posts: 42
Joined: Mon Mar 31, 2014 7:34 pm
Location: Staffordshire, England

Re: Retaining variables within functions

Thu Jul 10, 2014 6:39 pm

Thank you to everyone for all of your help, advice and suggestions. I really appreciated you taking the time.
This has all been very informative and a bit of a 'learning curve' for me.
BTW: Did I mention that I'm a Newbie to Python? :?

But it all gives me something to work on. Thanks again.
Electronics... It's what I do!

User avatar
AndrewS
Posts: 3625
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
Contact: Website

Re: Retaining variables within functions

Thu Jul 10, 2014 7:21 pm

SavagePi wrote:BTW: Did I mention that I'm a Newbie to Python? :?
Most Newbies are happy to leave global variables littered all over the place. So you're off to a good start 8-)

User avatar
SavagePi
Posts: 42
Joined: Mon Mar 31, 2014 7:34 pm
Location: Staffordshire, England

Re: Retaining variables within functions

Thu Jul 10, 2014 8:53 pm

I'll take that as a compliment, AndrewS. Thank you.
Electronics... It's what I do!

Return to “Python”