Re: [Tutor] Question about global variables on modules

2008-04-07 Thread Dave Kuhlman
On Fri, Apr 04, 2008 at 10:25:30PM -0300, Tiago Katcipis wrote: I know its not such a pretty thing to have global variables but its only for an exercise my teacher told to do. Its a function to calculate the results of a matrix using jacob. I want to inside the module (inside a function on the

[Tutor] Question about global variables on modules

2008-04-06 Thread Tiago Katcipis
I know its not such a pretty thing to have global variables but its only for an exercise my teacher told to do. Its a function to calculate the results of a matrix using jacob. I want to inside the module (inside a function on the module )assign a value to a global variable, but the only way i

Re: [Tutor] Question about global variables on modules

2008-04-05 Thread Alan Gauld
Tiago Katcipis [EMAIL PROTECTED] wrote results of a matrix using jacob. I want to inside the module (inside a function on the module )assign a value to a global variable, but the only way i found to do this inside the own module function is importing the module inside himself. Is there

[Tutor] Question about global variables on modules

2008-04-04 Thread Tiago Katcipis
I know its not such a pretty thing to have global variables but its only for an exercise my teacher told to do. Its a function to calculate the results of a matrix using jacob. I want to inside the module (inside a function on the module )assign a value to a global variable, but the only way i

Re: [Tutor] Question about global variables on modules

2008-04-04 Thread Anthony Baldwin
Tiago Katcipis wrote: I know its not such a pretty thing to have global variables but its only for an exercise my teacher told to do. Its a function to calculate the results of a matrix using jacob. I want to inside the module (inside a function on the module )assign a value to a global