Re: beginner: using parameter in functions

2006-05-31 Thread 3rdshiftcoder
"John Machin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] thanks for the help. it is really appreciated. i am going to do some more reading in the next couple of days. jim -- http://mail.python.org/mailman/listinfo/python-list

Re: beginner: using parameter in functions

2006-05-31 Thread 3rdshiftcoder
thanks very much John! so i can have self as function parameter as well as in a method. that allowed me to use properties to retrieve the value set in the constructor. i just changed the function return statement and it worked. i was working along these lines but couldnt get it up and running as

Re: beginner: using parameter in functions

2006-05-31 Thread John Machin
On 1/06/2006 9:24 AM, 3rdshiftcoder wrote: > hi- > > i am having trouble using parameter values in my function and to be honest a > little trouble with > member variables. i am trying to pass in the argument 'd' representing > delete. > what the code will do is if it is 'd' it will make a delet

Re: beginner: using parameter in functions

2006-05-31 Thread John McMonagle
On Wed, 2006-05-31 at 23:24 +, 3rdshiftcoder wrote: > hi- > > i am having trouble using parameter values in my function and to be honest a > little trouble with > member variables. i am trying to pass in the argument 'd' representing > delete. > what the code will do is if it is 'd' it will

beginner: using parameter in functions

2006-05-31 Thread 3rdshiftcoder
hi- i am having trouble using parameter values in my function and to be honest a little trouble with member variables. i am trying to pass in the argument 'd' representing delete. what the code will do is if it is 'd' it will make a delete query template string. if it is an 'i' then insert que