Post Reply 
What Am I Missing (HP-71B)
11-03-2014, 01:41 PM
Post: #4
RE: What Am I Missing (HP-71B)
(11-03-2014 10:45 AM)Les Bell Wrote:  Yes, the real problem is the "Illegal context" error messages on what looks like just about the simplest DEF FN examples. I must be overlooking something very obvious, but I can't think what. . .

The manuals and some testing suggest that a DEF FN can not accept an array as a parameter because it says all parameters are passed by value. Later on, the documentation for subprograms mentions array parameters can be passed by reference, but would require an output parameter: CALL DOT(A,B,D)
Find all posts by this user
Quote this message in a reply
Post Reply 


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) - 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) - Les Bell - 11-03-2014, 10:21 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)