Losing track of time

Malte Brill malte.brill at t-online.de
Fri Aug 8 19:11:00 EDT 2003


Hi Howard. 

Silly me you want to be repeatetly reminded I guess.

global myTime,flag,timer,counter
on mouseUp
  put flag*-1 into flag
  if flag=0 then put 1 into flag
  put the seconds into myTime
  put 0 into counter
  put fld "TheTime" into timer
  if flag=1 then send reminder to me in timer seconds
end mouseUp
on reminder
  add 1 to counter
  play "flute3.wav"
  put the seconds-myTime-counter*timer
  if flag=1 then send reminder to me in timer seconds
end reminder

This script should allways return 0 and it does here...

Hope this helps,

Malte




More information about the use-livecode mailing list