Code: Select all
if _overDriveBonus is an integer then #do something
Craig
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Code: Select all
if _overDriveBonus is an integer then #do something
Code: Select all
on UpdateOverDriveClickBonus
add 1 to _sessionClicks
set the thumbPosition of scrollbar "ProgressOverDrive" to _sessionClicks
...
Code: Select all
on ShowBetterOverDrive
## _overDriveBonus IS an INTEGER all the time!
if _overDriveBonus is an integer then
set the thumbPosition of scrollbar "ProgressOverDrive" to 0
...
you're right!!! when i realized it i made two functions, one with return trunc and the other a normal return, and that fixed my first problem.