From: Sebastian Hungerecker Date: 2008-09-01T17:44:14+09:00 Subject: Re: How to make a string upcase? Zhao Yi wrote: > I want to change a string to upcase like below: > > name=@value.upcase > > But got this error: dynamic constant assignment Not for that code you didn't. If it was Name with a capital N and if the line was inside a method, then you'd get that error. And you'd get that because you're not supposed to assign constants from within methods (you can get around that, but most of the times, you shouldn't). HTH, Sebastian -- NP: Die Apokalyptischen Reiter - Es wird schlimmer Jabber: sepp2k@jabber.org ICQ: 205544826