IFTE odd behaviour
|
10-16-2019, 05:31 AM
Post: #19
|
|||
|
|||
RE: IFTE odd behaviour
Hello,
Back to the original question. The behavior is linked to list processing. The handling of the empty list is indeed a return of 0. in hindsight, an error might have been better... I honestly do not remember why I set it to 0... List processing of IFTE is a wiered thing in it's implementation... try executing something that does a side effect like IFTE({1,0}, A:=1+2, B:=3+4) to see what I mean... With regard to the uppser vs lowercase stuff. first, most home commands work both in lower and upper case... but, for historical reasons (38, 48...) they are written in uppercase... Second, if allows to distinguish CAS specific functions from others... Third, functions that are common to CAS and home and do not have different meaning will normally be uppercase even in the CAS. This is also for historical reason comming from the first HP 39GII+ (which used the CAS in home, slightly disguised). Cyrille Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)