Post Reply 
Sub-routine returning multiple values
10-30-2017, 06:08 AM
Post: #3
RE: Sub-routine returning multiple values
Hello,

Unfortunately, HPPL does not allow one function to return multiple values. They are functions in the mathematical sense of things and must return one single value.

Now, this value can of course be a composit object such as a list that can itself contain multiple heteroclit objects. But this forces a 3 step process of combining all values in 1 list, storing this list somewhere and then decombining (if/as needed)

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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Sub-routine returning multiple values - cyrille de brébisson - 10-30-2017 06:08 AM



User(s) browsing this thread: 1 Guest(s)