Mantis - Squeak 3.8
Viewing Issue Advanced Details
4415 major always 08-07-06 23:58 08-09-06 10:07
hkr  
 
normal  
new  
open  
none    
none  
0004415: incorrect result with addition and assignment
When entering the following statements in a workspace window:

a := 1
b := 2
a := a + b

a has the value 5


Notes
(0006373)
wiz   
08-08-06 12:02   
a := 1 .
b := 2 .
a := a + b ." 3"
a. " 3"

The quotes are around the printouts.
So I couldn't reproduce the problem.
I am using sq7051r (the most recent one r is for revision) on a iMac under os9.1 with a SqVm3.8.9b7.

Are you mistaken or are there other details that need to be in this report.

Yours in Service, --Jerome Peace
(0006428)
hkr   
08-09-06 10:07   
I've been mistaken. I'm new to Smalltalk and Squeak environment.
This is what I did wrong. After entering each statement in the workspace, I hit the "apple-key d "and "apple-key p". So, a:=a+b was evaluated twice.
Sorry for bothering you. You can delete this issue.