<div>Hi, guys</div><div><br></div><div>I'm sorry if what I'm about to ask is a newbie question but I'm puzzled about a behavior I found today regarding Arrays. </div><div><br></div><div><div>a1 := #(0 0 0 0).</div>
<div>a2 := #(0 0 0 0).</div><div>a1 == a2</div><div><br></div></div><div>If I select the whole expression above and execute it on a workspace it returns true (meaning that a1 and a2 are the same object). If I execute each line separately it returns false. </div>
<div>I don't understand why this happens. Is this expected? or is it a bug?</div><div><br></div><div>This only happens when I use the literal syntax, using Array >> #new:withAll: works fine regardless of the way I execute it. I'm inclined to think this is a bug, but I wanted to know what you think about it.</div>
<div><br></div><div>Cheers</div><div>Richo</div><div><br></div>