Re: want to spread my code over different files
- From: "Larry W. Virden" <lvirden@xxxxxxxxx>
- Date: 29 Mar 2007 04:15:16 -0700
On Mar 29, 1:29 am, "raul" <rahuldotpa...@xxxxxxxxx> wrote:
hi
i want to have a global array which is populated in one file say file1
and then accessed and printed in the other file say file2.how do i do
this.
can you please show me a small sample code for this?
Is it your idea that the different files are all used within one
process, and one interpreter? Or are you talking about different
programs?
If you are talking about building an array that is used across
processes, then some special techniques will be needed - some kind of
inter-process communication technique (IPC) such as shared memory, etc.
.
- References:
- want to spread my code over different files
- From: raul
- want to spread my code over different files
- Prev by Date: Re: Lego Mindstorms and Tcl
- Next by Date: Re: Expect echo command without execution within xterm launch
- Previous by thread: Re: want to spread my code over different files
- Next by thread: Expect a command with and without confirmation
- Index(es):
Relevant Pages
|