cumbersome pt and rect operations

William Prothero prothero at earthednet.org
Thu May 15 16:28:38 EDT 2014


Folks:
I’m doing a lot of moving objects around on the screen. I find that it’s super cumbersome and generates a load of code. It would be really nice if there could be more compact operations.

For example:
put pt1 + pt2 into sumofPts
2,3 + 5,6 would result in 7,9

or 
put rect1 + pt1 into aRect
2,4,6,9 + 3,4 would result in 5,8,9,13

This would make it much easier to do these move operations. 

I know these can be done with simple functions but …..
Perhaps I’m missing something in the docs, and there’s a much easier way to do this.

Bill



More information about the Use-livecode mailing list