Re: [Tutor] Accessing variables in main from functions in a module

2009-10-31 Thread Robert Lummis
These replies are great! Thanks to everyone who took the trouble to respond and explain. I'll need some time to digest what you say and put it to use but I'm sure your suggestions will be a huge help. On Fri, Oct 30, 2009 at 7:55 PM, Alan Gauld wrote: > "Robert Lummis" wrote > >> I want to move

Re: [Tutor] Accessing variables in main from functions in a module

2009-10-30 Thread spir
Le Fri, 30 Oct 2009 18:39:42 -0400, Robert Lummis s'exprima ainsi: > I want to move some functions from my "main" program file to a module > file because the main file is getting too big for convenience. The > functions access arrays (lists of lists) that are defined and > initialised in the main

Re: [Tutor] Accessing variables in main from functions in a module

2009-10-30 Thread Dave Angel
Kent Johnson wrote: On Fri, Oct 30, 2009 at 6:39 PM, Robert Lummis wrote: I want to move some functions from my "main" program file to a module file because the main file is getting too big for convenience. The functions access arrays (lists of lists) that are defined and initialised in the

Re: [Tutor] Accessing variables in main from functions in a module

2009-10-30 Thread Kent Johnson
On Fri, Oct 30, 2009 at 6:39 PM, Robert Lummis wrote: > I want to move some functions from my "main" program file to a module > file because the main file is getting too big for convenience. The > functions access arrays (lists of lists) that are defined and > initialised in the main file. How do

Re: [Tutor] Accessing variables in main from functions in a module

2009-10-30 Thread Alan Gauld
"Robert Lummis" wrote I want to move some functions from my "main" program file to a module file because the main file is getting too big for convenience. Good idea! functions access arrays (lists of lists) that are defined and initialised in the main file. How do I reference the main file