On Tue, 4 Feb 2003, Paul Brannan wrote: > FWIW, I think what the author intended was the usage of static that I > have marked with (**). actually i meant the void foo () { // x is a local variable but has static storage duration (that is, // its lifetime is as long as the program, and it is initialized // when the program starts). It is *not* global; this is a // function-local variable that shadows a // translation-unit-local // variable. static int x = 10; } example. this is the usage i would advocate ruby. thanks for the elaboration. see other post. -a -- ==================================== | Ara Howard | NOAA Forecast Systems Laboratory | Information and Technology Services | Data Systems Group | R/FST 325 Broadway | Boulder, CO 80305-3328 | Email: ahoward / fsl.noaa.gov | Phone: 303-497-7238 | Fax: 303-497-7259 ====================================