Function parameters - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: Function parameters (/thread-12513.html) |
Function parameters - Oulan - 02-27-2019 10:15 AM While reading the user guide, it seems that the parameters of HP PPL function are passed by value. Is there a way to pass them by reference ? --see PPL program -- Code:
As python mode is not described in this guide, is "pythonesque" function call use call by reference as in real python ? -- see real python program -- Code:
RE: Function parameters - toml_12953 - 02-27-2019 04:24 PM (02-27-2019 10:15 AM)Oulan Wrote: While reading the user guide, it seems that the parameters of HP PPL No, you'll have to make the variables global. I'd really like an option to pass by reference as well but there's little to no chance of that happening. |