Category:FutureBasic: Difference between revisions
→FutureBasic Home Page & Download
Line 26:
Here is a sample program:
<pre>
void local fn DoDialog( ev as long ) if ( ev == _btnClick ) then beep
end fn
window 1, @"Hello, world!", (0,0,550,400)
button 1,,, @"Beep"
on dialog fn DoDialog
HandleEvents
</pre>
|