Post Reply 
IFTE odd behaviour
10-12-2019, 06:38 AM (This post was last modified: 10-12-2019 10:54 AM by Wes Loewer.)
Post: #10
RE: IFTE odd behaviour
(10-11-2019 08:52 PM)David Hayden Wrote:  It means that any list processing with an empty list gives an empty list as a result.

That seems reasonable, with perhaps one exception. The TrueClause and the FalseClause can also be lists:

IFTE({1,0,1,0,0},{2,4,6,8,10},{1,3,5,7,9}) --> {2,3,6,7,9}

but the lists of course have to all be the same size:

IFTE({1,0,1,0,0},{2,4},{1,3,5}) --> Error: Invalid input

So I'd think the following ought to give the same "Invalid input" error:

IFTE({},{2,4,6},{1,3,5})

since the lists' sizes are not consistent.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
IFTE odd behaviour - BruceH - 10-11-2019, 10:55 AM
RE: IFTE odd behaviour - Tim Wessman - 10-11-2019, 11:09 AM
RE: IFTE odd behaviour - rprosperi - 10-11-2019, 05:36 PM
RE: IFTE odd behaviour - rprosperi - 10-12-2019, 01:40 PM
RE: IFTE odd behaviour - Carsen - 10-12-2019, 06:41 PM
RE: IFTE odd behaviour - rprosperi - 10-12-2019, 10:49 PM
RE: IFTE odd behaviour - BruceH - 10-11-2019, 06:18 PM
RE: IFTE odd behaviour - Tim Wessman - 10-11-2019, 12:32 PM
RE: IFTE odd behaviour - ijabbott - 10-11-2019, 04:36 PM
RE: IFTE odd behaviour - Claudio L. - 10-11-2019, 08:36 PM
RE: IFTE odd behaviour - David Hayden - 10-11-2019, 08:52 PM
RE: IFTE odd behaviour - Albert Chan - 10-11-2019, 09:09 PM
RE: IFTE odd behaviour - Wes Loewer - 10-12-2019 06:38 AM
RE: IFTE odd behaviour - John Keith - 10-12-2019, 11:41 AM
RE: IFTE odd behaviour - StephenG1CMZ - 10-12-2019, 08:26 AM
RE: IFTE odd behaviour - Wes Loewer - 10-12-2019, 11:00 AM
RE: IFTE odd behaviour - Wes Loewer - 10-12-2019, 11:46 AM
RE: IFTE odd behaviour - John Keith - 10-12-2019, 11:50 AM
RE: IFTE odd behaviour - rprosperi - 10-16-2019, 04:25 PM
RE: IFTE odd behaviour - rprosperi - 10-17-2019, 03:29 PM



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