Re: Simple Class/Variable passing question

2008-06-19 Thread monkeyboy
On Jun 19, 6:37 pm, Matt Nordhoff <[EMAIL PROTECTED]> wrote: > monkeyboy wrote: > > Hello, > > > I'm new to python, and PythonCard. In the code below, I'm trying to > > create a member variable (self.currValue) of the class, then just pass > > it to a simple function (MainOutputRoutine) to incremen

Re: Simple Class/Variable passing question

2008-06-19 Thread Matt Nordhoff
monkeyboy wrote: > Hello, > > I'm new to python, and PythonCard. In the code below, I'm trying to > create a member variable (self.currValue) of the class, then just pass > it to a simple function (MainOutputRoutine) to increment it. I thought > Python "passed by reference" all variables, but the

Simple Class/Variable passing question

2008-06-19 Thread monkeyboy
Hello, I'm new to python, and PythonCard. In the code below, I'm trying to create a member variable (self.currValue) of the class, then just pass it to a simple function (MainOutputRoutine) to increment it. I thought Python "passed by reference" all variables, but the member variable doesn't seem