What Am I Missing (HP-71B)
|
11-03-2014, 10:21 PM
Post: #7
|
|||
|
|||
RE: What Am I Missing (HP-71B)
(11-03-2014 03:20 PM)Sylvain Cote Wrote: cruff was faster than me and he is right. Thanks, both cruff and Sylvain; you're right, that does exactly what I want. The two things I'd missed were: 1) The need to pass arrays by reference, and the consequent need to use a subprogram with an output parameter, and 2) The fact that DEF FN doesn't allow keyboard execution, only use as a program statement (that's why my simple non-array example was failing). Interestingly the manual says, "A function can be executed only when it is referenced in a numeric or string expression, either in a program or from the keyboard." (p. 218) which, along with the examples at the bottom of that page, to believe that a UDF could be defined from the keyboard - but it can't, only executed. (Which leads me to a question I'm going to have to explore further - does the UDF exist only within the scope of the program that defines it? A collection of UDF's that are executable in CALC mode would be handy, but I guess that's not how it works.) Thanks again - and btw, I did that little lecture on dot products using a 32SII, which fit in my jacket pocket a bit more neatly than the 71, anyway. --- Les [http://www.lesbell.com.au] |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
What Am I Missing (HP-71B) - Les Bell - 11-03-2014, 04:53 AM
RE: What Am I Missing (HP-71B) - Gerson W. Barbosa - 11-03-2014, 06:08 AM
RE: What Am I Missing (HP-71B) - Les Bell - 11-03-2014, 10:45 AM
RE: What Am I Missing (HP-71B) - cruff - 11-03-2014, 01:41 PM
RE: What Am I Missing (HP-71B) - Sylvain Cote - 11-03-2014, 02:03 PM
RE: What Am I Missing (HP-71B) - Sylvain Cote - 11-03-2014, 03:20 PM
RE: What Am I Missing (HP-71B) - Les Bell - 11-03-2014 10:21 PM
RE: What Am I Missing (HP-71B) - Sylvain Cote - 11-03-2014, 11:51 PM
RE: What Am I Missing (HP-71B) - Les Bell - 11-04-2014, 01:01 AM
RE: What Am I Missing (HP-71B) - Joe Horn - 11-05-2014, 05:25 AM
RE: What Am I Missing (HP-71B) - Les Bell - 11-05-2014, 07:24 AM
|
User(s) browsing this thread: 1 Guest(s)