HP Forums

Full Version: IFTE vs ifte...HOME vs CAS
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
< does not compare list in the CAS.
(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}
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.
(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.
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.
Reference URL's