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. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)