7 résultats trouvés
Revenir à la recherche avancée
Re: Résolu: Problème d'affichage de Jens' script editor
Hi again! I finally got my hands on to the recent student software. After some testing I found out, that my thought was right and TI lowered the maximum saveble string length significantly to somewhere between 9900 and 10000 characters (it seems to vary depending on some factors I couldn't figure ou...
- 12 Déc 2016, 15:37
- Forums: Nspire-Lua
- Sujet: Résolu: Problème d'affichage de Jens' script editor
- Réponses: 11
- Vus: 5745
Re: Résolu: Problème d'affichage de Jens' script editor
Hi, I guess I'm quite late to the party and also not fluid in french, I don't check much for feedback for my old Nspire projects these days... Well it's strange that you found a limit of 10025 characters because I've put in quite some effort to support scripts with up to 1.7 million characters! The ...
- 07 Oct 2016, 14:20
- Forums: Nspire-Lua
- Sujet: Résolu: Problème d'affichage de Jens' script editor
- Réponses: 11
- Vus: 5745
Re: LUA Progress bar
Or do something like this: function getMaxDist() local sqrt, getMilliSecCounter = math.sqrt, timer.getMilliSecCounter local dist, now local nAtoms = molTable["nAtoms"] for i = 1,nAtoms-1 do for j = i+1,nAtoms do dist = sqrt((molTable[i]["x"] - molTable[j]["x"])^2 + (mol...
- 31 Oct 2014, 01:12
- Forums: Nspire-Lua
- Sujet: LUA Progress bar
- Réponses: 16
- Vus: 5593
Re: LUA Progress bar
Glad I could help! Coroutines are basically threads in lua, altough I don't think real multithreading is possible on the nspire (?). But they are useful when you want to pause and resume functions ;) (and there is another one more recent but I can't access it because the host (free.fr) recently chan...
- 30 Oct 2014, 21:47
- Forums: Nspire-Lua
- Sujet: LUA Progress bar
- Réponses: 16
- Vus: 5593
Re: LUA Progress bar
Hi, I once messed around with progressbars using coroutines. I tried to use that principle with your algorithm (and I optimized it a bit ;) ) and it seems to work: function getMaxDist() local sqrt = math.sqrt local maxDist = 0 local dist local nAtoms = molTable["nAtoms"] for i = 1,nAtoms-1...
- 30 Oct 2014, 14:35
- Forums: Nspire-Lua
- Sujet: LUA Progress bar
- Réponses: 16
- Vus: 5593
Re: probleme ou bug ? lua
The console is an own app that you can resize and delete with the Nspire OS: - Press :nsdo: => :ns5: => :ns1: to resize it - Click on the console, then press :nsct: + :nsk: and then :nsde: to delete it. You can still copy & paste it again from the editor page The whole :nsdo: menu has some nice ...
- 16 Oct 2014, 17:01
- Forums: Problèmes divers / Aide débutants
- Sujet: probleme ou bug ? lua
- Réponses: 3
- Vus: 763
Re: probleme ou bug ? lua
Salut, je suis Jens! Je suis désolé pour la mauvaise traduction, mais je ne parle pas français. J'ai trouvé plusieurs problèmes: - Dans "function updateFPS()", il devrait être "lastTick = timer.getMilliSecCounter()" au lieu de "lastTick = timer.getMilliSecCounter" - Écr...
- 16 Oct 2014, 11:33
- Forums: Problèmes divers / Aide débutants
- Sujet: probleme ou bug ? lua
- Réponses: 3
- Vus: 763
- 7 résultats trouvés • Page 1 sur 1