Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Point
Last updated at 9:19 am UTC on 22 February 2017
An object of the class 'Point' represents an x-y pair of numbers usually designating a location on the screen.

The result of

 100 @ 200

is aPoint. @ is a binary selector in the class Number. When the binary message is executed the result is a point.


 aPoint := 100@200


 aPoint x
 100


 aPoint y
 200