[Newbies] [Q] A really silly question

Rob Van Pamel rob.vanpamel at telenet.be
Thu May 10 17:22:32 UTC 2007

To get the negative of a value use 

a negated.


-----Oorspronkelijk bericht-----
Van: beginners-bounces at lists.squeakfoundation.org
[mailto:beginners-bounces at lists.squeakfoundation.org] Namens Edgar J. De
Verzonden: donderdag 10 mei 2007 19:18
Aan: A friendly place to get answers to even the most basic questions about
Onderwerp: [Newbies] [Q] A really silly question

| a b|
a := 14.
b := - a.
b inspect

is wrong

| a b|
a := 14.
b := 0 - a.
b inspect

is right

Why ?

Beginners mailing list
Beginners at lists.squeakfoundation.org

More information about the Beginners mailing list