10 résultats trouvés
Revenir à la recherche avancée
Re: Generate piecewise function from a BASIC program
Yes, perfect, thanks!
- 05 Nov 2019, 22:14
- Forums: Nspire-Basic
- Sujet: Generate piecewise function from a BASIC program
- Réponses: 2
- Vus: 1515
Generate piecewise function from a BASIC program
Hi I would need some help on how to automatically generate a piecewise function from within a program written in TI-basic. Scenario: I have two list with numbers "xi" and "yi". From those lists I create a new list with several functions. Lets call the list "zi". Now, I ...
- 05 Nov 2019, 21:19
- Forums: Nspire-Basic
- Sujet: Generate piecewise function from a BASIC program
- Réponses: 2
- Vus: 1515
Save calculations to log file
Hi I wonder if it is possible to save calculations/input data to a log file through Lua? A dummy example. Lets say you observe the time when the street light turns on every evening. You enter the observed time into your program. You also have the program calculate the time the sun sets that day. You...
- 01 Nov 2019, 21:19
- Forums: Nspire-Lua
- Sujet: Save calculations to log file
- Réponses: 1
- Vus: 2083
Re: Lua check if device has CAS
Thanks for your answers.
I will go for isCAS = not not math.evalStr('?') . This one was a really neat trick.
I will go for isCAS = not not math.evalStr('?') . This one was a really neat trick.
- 28 Oct 2019, 19:42
- Forums: Nspire-Lua
- Sujet: Lua check if device has CAS
- Réponses: 3
- Vus: 2402
Lua check if device has CAS
Hi Is it possible in Lua to verify/check that a program is running on a CAS unit, either hand held or software? I would like to avoid unexpected behavior of a program using CAS functions, running on non cas software. The TI Lua API reference guide is a little cryptic on this matter. platform.hw() se...
- 27 Oct 2019, 21:20
- Forums: Nspire-Lua
- Sujet: Lua check if device has CAS
- Réponses: 3
- Vus: 2402
Re: Scrollbars in Lua programs
Yes, thanks!
Formula pro has vertical scrollbars. They are not exactly what I am looking for, but I will try to understand the code and then rethink my program design if needed.
Formula pro has vertical scrollbars. They are not exactly what I am looking for, but I will try to understand the code and then rethink my program design if needed.
- 20 Oct 2019, 21:06
- Forums: Nspire-Lua
- Sujet: Scrollbars in Lua programs
- Réponses: 6
- Vus: 3503
Re: Scrollbars in Lua programs
Thanks, but I am not sure those libraries contain the functionality I am looking for. WzGuiLib does indeed seem to support window content bigger then the screen, however I noticed a comment in the code on row 1683: "cant use: scrollbar, progressbar, statusbar", so I am not sure if I can us...
- 20 Oct 2019, 20:44
- Forums: Nspire-Lua
- Sujet: Scrollbars in Lua programs
- Réponses: 6
- Vus: 3503
Scrollbars in Lua programs
Hi I wonder if it is possible to add scrollbars to a lua program window? What I mean is, similar behavior as most programs do when screen content is bigger then screen/window size. Example: My program is designed for full screen 212 x 318 px ,ratio (0.67). Computer screen has been considered and pro...
- 20 Oct 2019, 19:39
- Forums: Nspire-Lua
- Sujet: Scrollbars in Lua programs
- Réponses: 6
- Vus: 3503
Re: Show Toolpalette on MouseDown
Hi Thanks for the reply. I noticed the menu in Make3d is nested in to the screen class and currently I think this is a to great challenge for me to implement, as I am still learning how to code. I will rethink the design of the program to perhaps use radio buttons or a drop down menu or something si...
- 19 Oct 2019, 10:10
- Forums: Nspire-Lua
- Sujet: Show Toolpalette on MouseDown
- Réponses: 2
- Vus: 2133
Show Toolpalette on MouseDown
Hi I have created a custom menu (toolpalette) in my Lua program and it works just as it suppose to. The menu opens up when pressing the MENU key on the hand held and is accessible from the toolbar in the TI software, so far so good. Now to the problem. I would like to create a button inside the prog...
- 18 Oct 2019, 21:33
- Forums: Nspire-Lua
- Sujet: Show Toolpalette on MouseDown
- Réponses: 2
- Vus: 2133
- 10 résultats trouvés • Page 1 sur 1