From: Jonas Delfs Date: 2002-03-31T09:27:42+09:00 Subject: Re: re-assign variable to another object without causing error message. "Hubert Hung-Hsien Chang" skrev i en meddelelse news:98ba0902.0203301211.56334f75@posting.google.com... > I have a loop that will updated a variable whenever there is > a change. But I have found that I am given an error. It runs and the > result is correct but it would like to get rid of the error. After simplifying > the code, the fundamental problem is the following code: > > m.rb:26: warning: already initialized constant P Constants are called constants because their value are supposed to be constant, which meanes you shouldn't/can't change a constants value after it have been defined. -- Mvh./Best Regards Jonas Delfs, http://delfs.dk