π
<-
Chat plein-écran
[^]

Release of FormulaPro v1

Programme équivalent à EEPro des TI-89, mais sur TI-Nspire, en Lua.

Re: Release of FormulaPro v1

Message non lude slarty bartfast » 04 Fév 2016, 18:46

Hi,

I'm wondering if there is a version for OS 4?

Thanks :D
Avatar de l’utilisateur
slarty bartfast
Niveau 0: MI (Membre Inactif)
Niveau 0: MI (Membre Inactif)
Prochain niv.: 0%
 
Messages: 1
Inscription: 04 Fév 2016, 18:41
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: Release of FormulaPro v1

Message non lude Adriweb » 04 Fév 2016, 19:15

It should work as-is on OS 4 - have you encountered any specific issues?
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...)
Avatar de l’utilisateur
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 80.1%
 
Messages: 14605
Images: 1216
Inscription: 01 Juin 2007, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Twitter/X: adriweb
GitHub: adriweb

Re: Release of FormulaPro v1

Message non lude awinterstale33 » 05 Fév 2016, 22:08

Adriweb a écrit:Hi,

awinterstale33 a écrit:Enter in a variable for a value instead of a number.

Possible, yes, however we had taken extra steps (deleting all variables when solving) not to allow it "trivially". Because it's using solve() to do the calculations, user variables may interfere and it would be bad to have some value already there as a value for the solved variable, for instance... But if you know what you are doing and you are sure it won't interfere with the solving, you can simply declare your variable (with a prefix, maybe ? Like "my_theta" instead of "theta" if you wanted that) and use Lock my_theta. That way, FormulaPro won't delete it before solving and you will be able to use it as a variable/value.

awinterstale33 a écrit:Enter a global function for a value

That works the same way. Declare it and Lock it.

I've tested that successfully as well :)
Note that when you press enter it will evaluate the expression/function so you'll see the result directly, it won't keep the original input.


Hi Adriweb, I haven't been able to replicate this. Could you give me a little more direction? I don't have much experience coding with Lua but only Java and Vba a little for school. Do I declare the variables in the LUA editor or on the calc?
Avatar de l’utilisateur
awinterstale33
Niveau 0: MI (Membre Inactif)
Niveau 0: MI (Membre Inactif)
Prochain niv.: 0%
 
Messages: 6
Inscription: 11 Nov 2015, 21:33
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: Release of FormulaPro v1

Message non lude Adriweb » 05 Fév 2016, 23:20

The variables have to be declared (/initialized) and Locked from the calculator app, not from Lua.

So, you go into a calculator tab (insert one (Ctrl-I) after the FormulaPro one, for instance), and do : i:=42 then Lock i.
Now FormulaPro will not modify it and will be taken into account in calculations when you use it as a value.
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...)
Avatar de l’utilisateur
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 80.1%
 
Messages: 14605
Images: 1216
Inscription: 01 Juin 2007, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Twitter/X: adriweb
GitHub: adriweb

Re: Release of FormulaPro v1

Message non lude awinterstale33 » 06 Fév 2016, 00:13

Awesome! Thanks! I'm going to try it right now...

I tested this with the ohm's Law page.
If I declare i:=is and lock it, and enter in "i" or "is" into the current field, it says invalid input. I was hoping for the other fields to be updated with the calculated value, except with my variable for i instead of a numerical value.
However, when I copy and paste the formula back into the calculator page and hit enter, all the variables are replaced with the numerical values except i is replaced with is. So it works if I copy and paste it, how I was hoping. Am I doing it wrong still or it that the only way it will work? (Which is still awesome btw.)
Avatar de l’utilisateur
awinterstale33
Niveau 0: MI (Membre Inactif)
Niveau 0: MI (Membre Inactif)
Prochain niv.: 0%
 
Messages: 6
Inscription: 11 Nov 2015, 21:33
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Précédente

Retourner vers FormulaPro Nspire (EEPro)

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 2 invités

-
Rechercher
-
Social TI-Planet
-
Sujets à la une
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
-
Faire un don / Premium
Pour plus de concours, de lots, de tests, nous aider à payer le serveur et les domaines...
Faire un don
Découvrez les avantages d'un compte donateur !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partenaires et pub
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
984 utilisateurs:
>966 invités
>13 membres
>5 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Autres sites intéressants
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)