Home Segments Index Top Previous Next

618: Mainline

You can also create a new point by sending the @ method, with an argument, to a number. Thus, the point with coordinates 5 and 3 can be expressed as 5 @ 3:

5 @ 3 <-- The point with x=5 and y=3 

You can also write the same point as 5@3 if you prefer a space-free look.