Plua
Plua is a port of the programming language Lua 5.0.3, along with a small IDE, for the Palm Computing platform.[src] Lua is a programming language designed at TeCGraf, the Computer Graphics Technology Group of PUC-Rio, Brazil.[src] Plua includes some extensions to Lua to better support the Palm platform.[src] Development has ceased on Plua, and the latest stable version of Plua 2.0 can only be downloaded from a discussion board.[src] The prior version, Plua 1.1, is a port of Lua 4.0.[src] The extensions differ somewhat between versions.[src] The new version is thus sometimes called Plua 2 to avoid confusion.[src]
Plua is a port of the programming language Lua 5.0.3, along with a small IDE, for the Palm Computing platform.[src] Lua is a programming language designed at TeCGraf, the Computer Graphics Technology Group of PUC-Rio, Brazil.[src] Plua includes some extensions to Lua to better support the Palm platform.[src] Development has ceased on Plua, and the latest stable version of Plua 2.0 can only be downloaded from a discussion board.[src] The prior version, Plua 1.1, is a port of Lua 4.0.[src] The extensions differ somewhat between versions.[src] The new version is thus sometimes called Plua 2 to avoid confusion.[src] -- HelloWorld.lua ptitle("Hello World") print ("Hello, world!") pevent() This text will be saved as a normal memo in the Palm, and executed by tapping the "Run" button in the IDE.[src] Alternatively, the program can be compiled into a PRC (Palm OS Program File, which is executable on any Palm Platform, provided that the runtime program is present) from the same IDE.[src] A breakdown of the program: Line #1: The double dashes define the above line as a comment.[src] All Plua memo files must be defined as such before it can be run or compiled in Plua.[src] Line #2: Defines the title at the top of the page.[src] Line #3: Prints the message "Hello, world!" onscreen under the title bar.[src] Line #4: The above command pauses the execution of the programs and waits for any interaction from the user.[src] These include button taps, character input, or the push of a hard button.[src] -- HelloWorld.lua gui.title 'Hello world' print 'Hello world!' gui.event(ioPending) A breakdown of the program: The first line comment is the same as before, but the rest is a little different.[src] Line #2: The gui.title function defines the title at the top of the page.[src] Parentheses are optional for a Lua function call with a single string argument (and also for a single table constructor).[src] String literals may be either single-quoted or double-quoted.[src] Line #3: Prints the message "Hello, world!" onscreen under the title bar.[src] If the optional parentheses and double quotes had been used (and they could have been), this line would be identical to the first version.[src] Line #4: The above command pauses the execution of the programs and waits for any interaction from the user.[src] The argument ioPending is simply a predefined number included in Plua 2 representing a request for this behavior.[src]
30 sentences · 30 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Plua." encyclopegia.org, 2026, https://encyclopegia.org/wiki/plua. Accessed 26 November 2026.
Chicago
"Plua." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/plua.
APA
encyclopegia.org. (2026). Plua. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/plua
Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON