View Single Post
  #3  
Old 01-07-2010, 11:14 AM
starbug starbug is offline
Member
 
Join Date: Dec 2009
Posts: 5
Thanks Jeff,

the printing of variables created inside the function always worked for me, but not the returning. But I guess it comes down to 'generator functions', their special return - behavior, and that python is not matlab.
Have to learn a bit more about object oriented programming before my next post

Am using global variables that I change within functions now rather than trying to return something from a function, and that works alright.

thanks anyway,
starbug
Reply With Quote