π
<-
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 3: MH (Membre Habitué)
Niveau 3: MH (Membre Habitué)
Level up: 92%
 
Posts: 10
Joined: 21 May 2015, 00:54
Gender: Not specified
Calculator(s):
MyCalcs profile

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
Image

MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 80.2%
 
Posts: 14616
Images: 1218
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
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 3: MH (Membre Habitué)
Niveau 3: MH (Membre Habitué)
Level up: 92%
 
Posts: 10
Joined: 21 May 2015, 00:54
Gender: Not specified
Calculator(s):
MyCalcs profile


Return to Nspire-Lua

Who is online

Users browsing this forum: No registered users and 26 guests

-
Search
-
Social TI-Planet
-
Featured topics
Comparaisons des meilleurs prix pour acheter sa calculatrice !
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
Phi NumWorks jailbreak
123
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...
Donate
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 Calculatrices à acheter chez Calcuso
-
Stats.
1748 utilisateurs:
>1727 invités
>16 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)