π
<-
Chat plein-écran
[^]

creation of bookstores in LUA

Pour TI-Nspire OS 3.0 ou ultérieur.

creation of bookstores in LUA

Unread postby el_mix17 » 25 Oct 2017, 16:08

Good Morning
I would like to know if it is possible in LUA to create libraries for later use in other applications.
The purpose of this is to not have the program very loaded and thus make it more orderly when programming.
For example create a function that allows me to perform a mathematical operation in LUA, and to be used do not have to write all your code, just call it from a library. :) :)
User avatar
el_mix17
Niveau 5: MO (Membre Overclocké)
Niveau 5: MO (Membre Overclocké)
Level up: 50%
 
Posts: 10
Joined: 21 May 2015, 00:54
Gender: Not specified

Re: creation of bookstores in LUA

Unread postby Adriweb » 25 Oct 2017, 16:30

It's more or less feasible (although at some point there were talks by TI of official libraries support, but it's still not available yet).
For instance, you can store code in MyLib documents and load it back later.
Example on some formulapro external database loading: https://github.com/adriweb/EEPro-for-Ns ... tabase.lua
User avatar
AdriwebAdmin.
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 51.5%
 
Posts: 12620
Images: 1081
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
Class: (ingénieur)
Twitter: adriweb
GitHub: adriweb

Re: creation of bookstores in LUA

Unread postby el_mix17 » 25 Oct 2017, 17:12

when it is loaded in the library.
How do I upload it to my program?
What command is used to load my function?
User avatar
el_mix17
Niveau 5: MO (Membre Overclocké)
Niveau 5: MO (Membre Overclocké)
Level up: 50%
 
Posts: 10
Joined: 21 May 2015, 00:54
Gender: Not specified


Return to Nspire-Lua

Who is online

Users browsing this forum: No registered users and 1 guest

-
Search
-
Featured topics
Concours TI-Planet-Casio de rentrée 2019. 3 défis pour plus d'une 15aine de calculatrices graphiques et nombre de goodies sortant de l'ordinaire ! :D
Comparaisons des meilleurs prix pour acheter sa calculatrice !
12
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...

Discover the the advantages of a donor account !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partner and ad
Notre partenaire Jarrety 
-
Stats.
530 utilisateurs:
>505 invités
>20 membres
>5 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Other interesting websites
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)