From: Steven <coo...@ya...> - 2008-03-19 15:45:13
|
You don't have to define it as global outside the function. Just define the variable normally and use the global keyword to bring it into the function's scope. ~Amaroq Roderick Thomas <tho...@ms...> wrote: Never mind. I figured it out. I defined the variable as global again within the function and it's working now. On Wed, 19 Mar 2008 10:15:14 -0400, Roderick Thomas wrote: > Is it possible to define a global variable outside of a function that > will > operate within a function? > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > chiPHPug-discuss mailing list > chi...@li... > https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ chiPHPug-discuss mailing list chi...@li... https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. |