Hi Kurt,

Your recursive call needs to pass along a carry bit. Try defining a version
of Add (say AddWithCarry) that takes a carry bit. Then define Add to call
AddWithCarry with an initial carry bit of 0.

AddWithCarry could be publicly visible, or just defined locally inside of
Add.

- Lyle
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to