From: Aleksei Guzev Date: 2001-08-09T13:50:40+09:00 Subject: [ruby-talk:19405] RE: WIN32OLE But every line of code seems residing inside a method body. Where could one define a constant rather than in a method? Is there a problem with defining constants from a method? What is this limitation for? # -----Original Message----- # From: ts [mailto:decoux@moulon.inra.fr] # Sent: 9 ������� 2001 �. 10:44 # To: ruby-talk ML # Cc: ruby-talk@ruby-lang.org # Subject: [ruby-talk:19404] Re: WIN32OLE # # # >>>>> "A" == Aleksei Guzev writes: # # A> irb(main):002:0> def m # A> irb(main):003:1> C1 = 3 # # re-read carefully the last phrase of [ruby-talk:19376] :-) # # # Guy Decoux #