>>>>> "A" == Aleksei Guzev <aleksei.guzev / bigfoot.com> writes:

A> But every line of code seems residing inside a method body. Where could
A> one define a constant rather than in a method?

 At the beginning of a class

A> Is there a problem with defining constants from a method? What is this
A> limitation for?

 Perhaps to protect you against a possible modification by a method.


Guy Decoux