« Return to Thread: Newbie Question, I'm Sure, Re/ p...() Commands

Re: Newbie Question, I'm Sure, Re/ p...() Commands

by seekinganid :: Rate this Message:

Reply to Author | View in Thread

Based upon the Wikipedia entry for Plua, it would appear that such commands as pevent and pclear are version 1.0 specific.  For version 2.0 I would use gui.event(ioPending) instead of pevent().  I'll try that out to see how well it works.

--- In plua@..., "seekinganid" <e-mail@...> wrote:

>
> I am hoping that this is just a newbie question.  I just installed Plua 2.0 onto my Palm T3 running OS 5.2.1.  I see references to the use of such commands as pclear() and pevent() in various tutorials and examples, but Plua 2.0 does not seem like them.  I receive error messages to the effect of "attempt to call global 'pevent' (a nil value)"; same for pclear.
>
> The following is the example code taken straight from the "First App in 10 Minutes: A Plua Tutorial":
>
> -- FirstApp.lua
> pmoveto(70,70)
> plabel("My First App works!")
> pevent()
>
> Seems pretty simple and straight forward.  Is there some additional Plua component that I may be missing?  When I reference the built in Plua Help system there is no mention of these p... commands within the Index.  I am assuming that these are implemented in version 2.0 due to the usage of such in the various examples I have looked at.  Any suggestions?
>
> Thanks.
>


 « Return to Thread: Newbie Question, I'm Sure, Re/ p...() Commands