thumbPosition and Simple Math

Derek Bump webmaster at dreamscapesoftware.com
Sat Feb 26 08:42:21 CST 2005


Are there bugs that occur when using Math in conjunction with a 
thumbPosition reading.  I've noticed that the following...

on scrollBarDrag
    put the thumbPosition of me into theNum
    add 50 to theNum
    put theNum into fld "result"
end scrollBarDrag

When I do it, I don't get the current thumbPosition + 50, I get the 
current pixel position + 50.

Anyone else seeing this?

Derek Bump
Dreamscape Software
http://www.dreamscapesoftware.com/


More information about the use-livecode mailing list