Warning: this is an htmlized version!
The original is across this link,
and the conversion rules are here.
Lua 5.1.5  Copyright (C) 1994-2012 Lua.org, PUC-Rio
> dofile "newrect.lua"
> = V{3,4}             --> (3,4)    
(3,4)
> = V{3,4} - V{2,1}    --> (1,3)    
(1,3)
> = V{3,4} + V{2,1}    --> (5,5)    
(5,5)
> = V{3,4} * V{2,1}    --> 10	     
10
> = V{3,4} * -10	     --> (-30,-40)
(-30,-40)
> = -10 * V{3,4}	     --> (-30,-40)
(-30,-40)
> = V{-3,3}:xytolr()   --> (3,0)    
(3,0)
> = V{3,3}:xytolr()    --> (0,3)    
(0,3)
> = V{2,4}:xytolr()    --> (1,3)    
(1,3)
> = V{0,0}:torowcol(4, 2, 6)   --> 4 1
4	1
> = V{1,0}:torowcol(4, 2, 6)   --> 4 3
4	3
> = V{2,0}:torowcol(4, 2, 6)   --> 4 5
4	5
> = V{3,0}:torowcol(4, 2, 6)   --> (nothing)
> = V{0,1}:torowcol(4, 2, 6)   --> 3 1
3	1
> = V{0,2}:torowcol(4, 2, 6)   --> 3 5
2	1
> = V{0,3}:torowcol(4, 2, 6)   --> 3 5
1	1
> = V{0,4}:torowcol(4, 2, 6)   --> (nothing)
> 
>