Post Reply 
IFTE vs ifte...HOME vs CAS
01-14-2019, 08:41 PM
Post: #1
IFTE vs ifte...HOME vs CAS
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
Find all posts by this user
Quote this message in a reply
01-15-2019, 06:52 AM
Post: #2
RE: IFTE vs ifte...HOME vs CAS
< does not compare list in the CAS.
Find all posts by this user
Quote this message in a reply
01-15-2019, 07:42 AM
Post: #3
RE: IFTE vs ifte...HOME vs 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}
Find all posts by this user
Quote this message in a reply
01-15-2019, 02:05 PM (This post was last modified: 01-15-2019 02:06 PM by informach.)
Post: #4
RE: IFTE vs ifte...HOME vs CAS
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.
Find all posts by this user
Quote this message in a reply
01-15-2019, 03:15 PM (This post was last modified: 01-15-2019 03:19 PM by Didier Lachieze.)
Post: #5
RE: IFTE vs ifte...HOME vs CAS
(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.
Find all posts by this user
Quote this message in a reply
01-16-2019, 05:44 AM
Post: #6
RE: IFTE vs ifte...HOME vs CAS
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.

Sorry for my english
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)