[futurebasic] timer/button enabled

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 2010 : Group Archive : Group : All Groups

From: Brian Heibert <heibert@...>
Date: Mon, 15 Feb 2010 05:10:58 -0500
Can someone explain the timer syntax to me

I tried this

local fn EnableButton

end fn

fn HBRegister()
// main
on dialog fn DoDialog
on menu fn DoMenu
fn BuildUIFromNib

on timer (1000) ¬
fn EnableButton
timer end
timer off

poke long event - 8, 0
window _Storytellermain
do
HandleEvents
fn PollMouseScribble
until gFBQuit

But got this...
Error:•• '=' expected in line 456 of StoryTeller.main
 456:  timer end
             ^
And can someone point me to a previous post or tell me how to enable a disabled button from NIB?

Brian