Code: Alles auswählen
(
local testVar = 999
rci = rolloutCreator "myRollout" "My Rollout"
rci.begin()
rci.addText ("fn lulu = ( testVar -= 1; print testVar )")
rci.addcontrol #timer #searchTimer "Search Timer" paramStr:("interval:1000 active:true")
rci.addHandler #searchTimer #tick codeStr:"lulu()"
rci.end()
createDialog rci.def width:100 height:100
)