Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!jvnca!njitsc1!argus!bmc From: bmc@argus.UUCP (Bob Czech) Newsgroups: comp.lang.smalltalk Subject: literals Message-ID: <938@argus.UUCP> Date: Thu, 2-Jul-87 21:56:08 EDT Article-I.D.: argus.938 Posted: Thu Jul 2 21:56:08 1987 Date-Received: Sat, 4-Jul-87 08:51:49 EDT Organization: NJ Instit of Tech, Newark NJ Lines: 7 Keywords: literals methods I've been working on a variation of the smalltalk model and in studying the VM I've found that if you have a string constant in a method and assign it to an instance variable and somewhere down the line you make a modification to that string, that the constant in the method would hence change. Is this correct? And if so, I see it as a major flaw that you would be able to modify a constant!