--- In
plua@..., berkant_atay@... wrote:
>
>
> I just don't have the time now to write down all the code you've wanted to see, but I guess this will help a little..
>
> screen.moveto(5,100)
> buttonhello=gui.button("Press me!)
>
> while true do
> ev,id=gui.event()
> if ev==appStop then break end
> if ev==ctlSelect and id==buttonhello then screen.clear() screen moveto(150,150) print ("Surprise...!!") end
>
> end
>
>
> --- On Wed, 6/10/09, jimmy joe jack <wildcard_seven@...> wrote:
>
>
> From: jimmy joe jack <wildcard_seven@...>
> Subject: [plua] My Story + Small Request
> To:
plua@...
> Date: Wednesday, June 10, 2009, 6:08 AM
>
>
>
Thanks a lot for that. That saves me time trying to mine answers out of documentation sorely lacking in beginner Plua examples. (the little beginner tutorial pdf has a similar example, but it's not 2.0 and it goes about it in a slightly different way...so I just wanted to be sure).
If you or anyone else can do that little database example I requested in my original post, that'd be awesome, too. Thanks again.