HP71B/75: How to use SUB, ENDSUB, CALL
|
09-10-2016, 01:40 AM
Post: #2
|
|||
|
|||
RE: HP71B/75: How to use SUB, ENDSUB, CALL
(09-10-2016 12:16 AM)Eddie W. Shore Wrote: Question for the HP 71B/75 experts: Yes, the CALL sub is different. General syntax: SUB <subname>(<list of parameters>) <statements> END SUB CALL <subname>(<list of arguments>) The data type (and scalar/array designations) of the argument list must match that of the parameter list. Parameters that are arrays are passed by reference. Reference manual not clear about non-array parameters. Enclosing an argument in () makes it passed by value. Arrays must include () (such as A()). Two or more dimensional arrays must include commas to indicate the number of dimensions So , A(,) indicates that it is a matrix. I encourage you to consult the HP-71B and HP75C/D documentation. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
HP71B/75: How to use SUB, ENDSUB, CALL - Eddie W. Shore - 09-10-2016, 12:16 AM
RE: HP71B/75: How to use SUB, ENDSUB, CALL - Namir - 09-10-2016 01:40 AM
RE: HP71B/75: How to use SUB, ENDSUB, CALL - Garth Wilson - 09-10-2016, 03:43 AM
RE: HP71B/75: How to use SUB, ENDSUB, CALL - Namir - 09-10-2016, 01:26 PM
RE: HP71B/75: How to use SUB, ENDSUB, CALL - Eddie W. Shore - 09-11-2016, 01:51 AM
RE: HP71B/75: How to use SUB, ENDSUB, CALL - Joe Horn - 09-11-2016, 09:21 AM
RE: HP71B/75: How to use SUB, ENDSUB, CALL - Namir - 09-11-2016, 12:11 PM
RE: HP71B/75: How to use SUB, ENDSUB, CALL - Eddie W. Shore - 09-13-2016, 01:20 PM
|
User(s) browsing this thread: 1 Guest(s)