Page 1 sur 1
Toolbar function
Publié : dim. août 27, 2017 12:19 pm
par compsystems
Now I think that Xcas is superior to the CAS of TI68K series calculators.
To be able to port many programs that I wrote in the ti-CAS only one toolbar is missing.
Please, Mr. Bernard may in the future incorporate a function that performs this function.
Thank you very much
TI68k toolbar

Re: Toolbar function
Publié : lun. août 28, 2017 2:16 pm
par parisse
I don't understand your pictures, please describe what you would like.
Re: Toolbar function
Publié : jeu. août 31, 2017 2:27 am
par compsystems
Hello BP, I first want an input similar to the input of the HPPrime, with selection fields, choose,etc. The purpose is to create advanced data request entries
A tutorial of possible input cases>
http://eonicasys.com.co/public/math/CAS ... _prime.pdf

Re: Toolbar function
Publié : jeu. août 31, 2017 5:34 am
par parisse
The problem with interactive input (output) is that one must code specific versions for each GUI. There is some support for TI-like inputforms inside Xcas, but they will not work on other interfaces like Xcas for Firefox. Moreover the general philosophy of a CAS is that you write non-interactive user functions and pass arguments. This is much more portable and maintainable.
Re: Toolbar function
Publié : ven. sept. 01, 2017 1:05 pm
par compsystems
parisse a écrit :There is some support for TI-like inputforms inside Xcas
What are these inputforms? I did not see in the catalog.
Re: Toolbar function
Publié : ven. sept. 01, 2017 4:25 pm
par parisse
It's not documented because it's here only for compatibility. Look in the TI89/Voyage200 manuals.
Re: Toolbar function
Publié : dim. sept. 03, 2017 4:24 pm
par compsystems
There seems to be a problem with the assignment -> operator.
Code : Tout sélectionner
reqdem0a()
Prgm
Local r,k
Request "Radious",r
expr(r)→r
Disp r
r→k
Disp π*k^2
EndPrgm

Re: Toolbar function
Publié : dim. sept. 03, 2017 5:20 pm
par parisse
Try =>
Re: Toolbar function
Publié : dim. sept. 03, 2017 6:18 pm
par compsystems
it does not work.
:reqdem0a()
:Func
: Local r, k
: Request "Radious",r
: expr(r)=>r
: Disp r
: r=>k
: Disp pi*k^2
:EndFunc
in the compilation output, the assignment ( =>r ) or ( =>r ) is lost.
:
lastprog(NULL)
:Func
:Local r,k
: Request ""Radious"",r
: expr(r)
: Disp r
: r
: Disp pi*k^2
:EndFunc
Re: Toolbar function
Publié : dim. sept. 03, 2017 6:49 pm
par parisse
Indeed, one rule is incorrect in the parser, I will fix it.
Re: Toolbar function
Publié : mer. sept. 06, 2017 3:01 pm
par compsystems
To look like the dialog boxes in ti68kcalcs, please
1: tags and title without quotes
2: title centered
to give enter in the editor to add to the beginning of the line the colon ( : )
Thanks
:dbox0()
:Func
:Local x,y
: Dialog
: Title "Title: INPUT"
: Request "x:",x
: Request "y:",y
: EndDlog
: Disp x,y
: Disp x
:EndFunc:;

Re: Toolbar function
Publié : mer. sept. 06, 2017 3:54 pm
par parisse
Ok, it's improved in the source code.