- Code: Tout sélectionner
testReq()
Prgm
Request "enter x",x,0
EndPrgm
doubt: request cmd
Voir le premier message non lu • 9 messages
• Page 1 sur 1
doubt: request cmd
Hello, the third argument of REQUEST CMD, what means?
-
compsystems
Niveau 9: IC (Compteur Infatigable)- Messages: 256
- Inscription: 30 Mai 2011, 13:44
- Genre:
- Calculatrice(s):→ MyCalcs profile
Re: doubt: request cmd
It's to show or hide it in the history once done.
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...)-
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)- Messages: 14606
- Images: 1216
- Inscription: 01 Juin 2007, 00:00
- Localisation: France
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Twitter/X: adriweb
- GitHub: adriweb
Re: doubt: request cmd
but on ti-68k calculators
-
compsystems
Niveau 9: IC (Compteur Infatigable)- Messages: 256
- Inscription: 30 Mai 2011, 13:44
- Genre:
- Calculatrice(s):→ MyCalcs profile
Re: doubt: request cmd
On TI 89, the third argument is for "alpha-lock on or off".
If it is 0, then alpha-lock is off... and it allows to enter numbers more easily.
Any other value, or no argument at all gets to alphalock ON.
On Voyage 200... this is totally useless !
If it is 0, then alpha-lock is off... and it allows to enter numbers more easily.
Any other value, or no argument at all gets to alphalock ON.
On Voyage 200... this is totally useless !
-
BisamAdmin
Niveau 15: CC (Chevalier des Calculatrices)- Messages: 5665
- Inscription: 11 Mar 2008, 00:00
- Localisation: Lyon
- Genre:
- Calculatrice(s):→ MyCalcs profile
Re: doubt: request cmd
Oops yeah, I read "Basic Nspire" in the code box and didn't really look elsewhere ...
Looks like the Nspire Basic is better on this regard, then
Looks like the Nspire Basic is better on this regard, then
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...)-
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)- Messages: 14606
- Images: 1216
- Inscription: 01 Juin 2007, 00:00
- Localisation: France
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Twitter/X: adriweb
- GitHub: adriweb
Re: REQUEST CMD
sorry for my bad english
The REQUEST CMD (TI-68K CALCS) is practically the same that the REQUEST of the TI-NSPIRE-CX-CAS
example#0
Now if you want to return to the HOME history, use the copytoh89.v2z/89z ASM PRG (renamed to return_h.v2z/89z)
http://www.ticalc.org/archives/files/fi ... 16366.html
Comparing with the competition (hp-prime) the dialog boxes of Texas Instruments (TI-NSPIRE SERIES) is below, only equals, if the TI-development group re-incorporate to TI-BASIC the following structure (DO YOU AGREE?)
A dialog boxes tutorial for TI-68K (link)
viewtopic.php?f=5&t=19694
A dialog boxes tutorial for hp-prime (pdf)
http://eonicasys.com.co/public/math/CAS/hp_prime/libraries/dialogBoxes/tutorial_dialogBoxes_hp_prime.pdf
More info about (hp-prime forum)
http://www.hpmuseum.org/forum/thread-7832.html
The REQUEST CMD (TI-68K CALCS) is practically the same that the REQUEST of the TI-NSPIRE-CX-CAS
example#0
- Code: Tout sélectionner
reqDemo()
Prgm
ClrIO
Local statsvar,alphalck
0→alphalck
Request "Radious",r,alphalck
expr(r)→r
ok→statsvar
If ok=1 Then
Disp "Area = π*"&string(r)&"² = "&string(π*r^2.)&" u²"
EndIf
Pause:DispHome
EndPrgm
Now if you want to return to the HOME history, use the copytoh89.v2z/89z ASM PRG (renamed to return_h.v2z/89z)
http://www.ticalc.org/archives/files/fi ... 16366.html
- Code: Tout sélectionner
reqDemo1()
Prgm
ClrIO
Local statsvar,radious,area,r
"radious"→radious
Request radious,r
expr(r)→r
π*r^2.→area
ok→statsvar
If statsvar=1 Then
return_h("radious","area")
EndIf
EndPrgm
Comparing with the competition (hp-prime) the dialog boxes of Texas Instruments (TI-NSPIRE SERIES) is below, only equals, if the TI-development group re-incorporate to TI-BASIC the following structure (DO YOU AGREE?)
- Code: Tout sélectionner
Dialog
...
EndDlog
A dialog boxes tutorial for TI-68K (link)
viewtopic.php?f=5&t=19694
A dialog boxes tutorial for hp-prime (pdf)
http://eonicasys.com.co/public/math/CAS/hp_prime/libraries/dialogBoxes/tutorial_dialogBoxes_hp_prime.pdf
More info about (hp-prime forum)
http://www.hpmuseum.org/forum/thread-7832.html
-
compsystems
Niveau 9: IC (Compteur Infatigable)- Messages: 256
- Inscription: 30 Mai 2011, 13:44
- Genre:
- Calculatrice(s):→ MyCalcs profile
Re: doubt: request cmd
TI figured people didn't really need such dialog boxes, as sequential Request and/or arguments were enough for their purposes.
But it's not really wrong: dialog boxes are just a little graphically fancier, that's all.
But it's not really wrong: dialog boxes are just a little graphically fancier, that's all.
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...)-
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)- Messages: 14606
- Images: 1216
- Inscription: 01 Juin 2007, 00:00
- Localisation: France
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Twitter/X: adriweb
- GitHub: adriweb
Re: doubt: request cmd
Just look at the hundreds of programs that were written in ti-68k language with dialog boxes. //www.ticalc.org (that can not be port). This is a sufficient condition to have incorporated it from the first firmware versions of the ti-nspire series, but it is never late and I expect to see the structure Dialog ... EndDlog returned
With the current form if you want to enter n variables with the current REQUEST you must request them one by one, the code is extended, and is very tedious to enter data by data after pressing [ok]
Look how easy it is to create a dialog box in HPP-PL (HP-PRIME PROGRAMMING LANGUAGE), A solution is LUA, but LUA is not a BASIC-like language, which is equivalent code in LUA?
With the current form if you want to enter n variables with the current REQUEST you must request them one by one, the code is extended, and is very tedious to enter data by data after pressing [ok]
Look how easy it is to create a dialog box in HPP-PL (HP-PRIME PROGRAMMING LANGUAGE), A solution is LUA, but LUA is not a BASIC-like language, which is equivalent code in LUA?
-
compsystems
Niveau 9: IC (Compteur Infatigable)- Messages: 256
- Inscription: 30 Mai 2011, 13:44
- Genre:
- Calculatrice(s):→ MyCalcs profile
Re: doubt: request cmd
Equivalent in Lua would be like what FormulaPro has:
The code can be found here https://github.com/adriweb/EEPro-for-Ns ... 0FPGui.lua
But the core of having a few inputs and labels is just a few lines. here it's longer because of all the things it does in addition to just input.
The code can be found here https://github.com/adriweb/EEPro-for-Ns ... 0FPGui.lua
But the core of having a few inputs and labels is just a few lines. here it's longer because of all the things it does in addition to just input.
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...)-
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)- Messages: 14606
- Images: 1216
- Inscription: 01 Juin 2007, 00:00
- Localisation: France
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Twitter/X: adriweb
- GitHub: adriweb
9 messages
• Page 1 sur 1
Qui est en ligne
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 16 invités