Hello, in xcas [a, b, c] [1]; always returns b, while in hpprime a or b depending on the index var flag, is it possible to incorporate this in xcas?
'index':=1; returns "[] index start 1"
[a,b,c][1];, returns a // ok
'index':=0; returns "[] index start 0"
[a,b,c][1]; returns b // ok
'index':=1/0;
Modérateur : xcasadmin
-
- Messages : 562
- Inscription : sam. févr. 04, 2017 11:34 pm
- Localisation : Colombia
- Contact :
Re: 'index':=1/0;
If you want indexes starting at 1, use [[ ... ]]