Plua

Plua

Plua est une adaptation pour plateforme Palm OS du langage de programmation Lua (version 4.0).

Spécificités

Cette version de Lua comporte quelques fonctions spécifiques aux Palm :

  • des fonctions permettant de créer une interface graphique à travers l'API de Palm OS ;
  • des fonctions graphiques (points, lignes, cercles, etc.) ;
  • des fonctions d'entrée / sortie sur des fichiers et bases de données ;
  • des fonctions de contrôle du port infrarouge.

Exemple

 -- HelloWorld.lua
 -- ptitle permet de définir le titre de l'application
 ptitle("Hello World")
 print ("Hello, world!")
 -- pevent permet d'attendre la frappe d'une touche ou du stylet (et si besoin d'en récupérer les valeurs)
 pevent()

Lien externe


Wikimedia Foundation. 2010.

Contenu soumis à la licence CC-BY-SA. Source : Article Plua de Wikipédia en français (auteurs)

Игры ⚽ Нужно решить контрольную?

Regardez d'autres dictionnaires:

  • Plua — is a port of Lua 5.0.3 (along with a small IDE) for the Palm Computing platform. Lua is a programming language designed at TeCGraf, the Computer Graphics Technology Group of PUC Rio, Brazil. Plua includes some extensions to Lua to better support… …   Wikipedia

  • plumose — plu·mose || pluːməʊs adj. covered with feathers; resembling a feather …   English contemporary dictionary

  • pluperfect — plu·per·fect || ‚pluː pÉœrfɪkt / pɜː n. grammatical tense which places one past action in relation to another past action (Ex: When you arrived, I had already left. I had left = pluperfect tense) …   English contemporary dictionary

  • plural — plu·ral || plÊŠrÉ™l / plÊŠÉ™rÉ™l n. form of a word that designates more than one referent (Grammar) adj. of many, of more than one …   English contemporary dictionary

  • pluralism — plu·ral·ism || plÊŠrÉ™lɪzm / plÊŠÉ™r n. holding of more than one office; principle of communal life; state of being more than one …   English contemporary dictionary

  • pluralist — plu·ral·ist || plÊŠrÉ™lɪst / plÊŠÉ™r n. advocate of pluralism, one who supports the preservation of individual cultures …   English contemporary dictionary

  • pluralists — plu·ral·ist || plÊŠrÉ™lɪst / plÊŠÉ™r n. advocate of pluralism, one who supports the preservation of individual cultures …   English contemporary dictionary

  • pluralities — plu·ral·i·ty || ‚plÊŠ rælÉ™tɪ n. numerousness, variability; majority of voices in a vote …   English contemporary dictionary

  • plurality — plu·ral·i·ty || ‚plÊŠ rælÉ™tɪ n. numerousness, variability; majority of voices in a vote …   English contemporary dictionary

  • plurals — plu·ral || plÊŠrÉ™l / plÊŠÉ™rÉ™l n. form of a word that designates more than one referent (Grammar) adj. of many, of more than one …   English contemporary dictionary

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”