Path: utzoo!mnetor!uunet!husc6!bloom-beacon!mit-eddie!rutgers!rochester!rocksanne!entire!elt From: elt@entire.UUCP (Edward L. Taychert) Newsgroups: comp.lang.smalltalk Subject: Re: Question concerning behavior of assignment and copy methods Message-ID: <3160@entire.UUCP> Date: 29 Mar 88 14:56:18 GMT References: <1868@rayssd.ray.com> <256@laura.UUCP> Organization: Entire Inc, East Rochester, NY Lines: 29 Summary: Help, I missed something... In article <256@laura.UUCP>, hmm@laura.UUCP (Hans-Martin Mosner) writes: > Except for the last example, the behavior is correct. ^^^^ ^^^^^^^ This group's been empty on my machine for a while, I missed this discussion and could use some help understanding... I am writing an intelligent chess board in STV to help in some analysis; I set the initial position of the board with a literal array. I was surprized the second time I ran the program and, after initialization, got the old board. Without understanding, I threw in a deep copy and it worked fine. The documentation on deep copy is recursive "answer a deep copy of the receiver". I've used lost of pointers and indirection in C; if someone would help me and tell me what's going on, I will understand! But I can't understand STV by its external behavior. Thanks! -- ____________________________________________________________________________ Ed Taychert Phone: USA (716) 381-7870 Entire Inc. UUCP: rochester!rocksanne!entire!elt 435 E. Commercial Street East Rochester, N.Y. 14445 A Xerox Company _____________________________________________________________________________