HP Forums
IFTE vs ifte...HOME vs CAS - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: IFTE vs ifte...HOME vs CAS (/thread-12190.html)



IFTE vs ifte...HOME vs CAS - toshk - 01-14-2019 08:41 PM

IFTE(({1,2,3,9})<8,{1,7,9,9},{88,89,90,55});//ok at HOME
ifte(({1,2,3,9})<8,{1,7,9,9},{88,89,90,55});//NOT ok CAS, hopefully needs a nudge

{1,2,3,9}<{0,7,9,9};//ok at HOME
if ok at HOME then WHY NOT
IFTE(({1,2,3,9})<{0,7,9,9},{1,7,9,9},{88,89,90,55});//hopefully needs a nudge

{1,2,3,9}<{1,7,9,9};/NOT ok CAS, hopefully needs a nudge


RE: IFTE vs ifte...HOME vs CAS - parisse - 01-15-2019 06:52 AM

< does not compare list in the CAS.


RE: IFTE vs ifte...HOME vs CAS - Didier Lachieze - 01-15-2019 07:42 AM

(01-14-2019 08:41 PM)toshk Wrote:  {1,2,3,9}<{0,7,9,9};//ok at HOME
if ok at HOME then WHY NOT
IFTE(({1,2,3,9})<{0,7,9,9},{1,7,9,9},{88,89,90,55});//hopefully needs a nudge

For this one you need to remove the extra parentheses to make it work in Home:

IFTE({1,2,3,9}<{0,7,9,9},{1,7,9,9},{88,89,90,55});
returns:
{88,7,9,55}


RE: IFTE vs ifte...HOME vs CAS - informach - 01-15-2019 02:05 PM

Hi!, Didier Lachieze :
The rules of parenthesis, is ...
The sum of "(" it must be the same what ")".
The examples of toshk, are OK, but needed see the post what send parisse.


RE: IFTE vs ifte...HOME vs CAS - Didier Lachieze - 01-15-2019 03:15 PM

(01-15-2019 02:05 PM)informach Wrote:  The examples of toshk, are OK, but needed see the post what send parisse.

Did you really read what I wrote and did you try what I suggested to toshk?
Parisse answer was addressing the CAS related questions from toshk, my answer is about the HOME related question.


RE: IFTE vs ifte...HOME vs CAS - Tyann - 01-16-2019 05:44 AM

Bonjour

J'avais fait quelques essais il y a longtemps sur une version plus ancienne de ROM,
concernant IFTE avec des listes et cela ne fonctionnais pas.
Content de voir que cela a été corrigé et fonctionne bien maintenant.
Merci pour ce post.


Hello

I did some tests a long time ago on an older version of ROM,
about IFTE with lists and it did not work.
Glad to see that this has been fixed and works well now.
Thank you for this post.