From: Dave Thomas Date: 2001-08-08T21:49:08+09:00 Subject: [ruby-talk:19376] Re: WIN32OLE "Aleksei Guzev" writes: > Are there global constants and how they are distinguished from locals? Just using the scope of definition: fred.rb: C1 = 99 class Dave C2 = 101 end C1 is global, C2 must be accessed outside class Dave using Dave::C2. You cannot define a constant within a method. Regards Dave