Default 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: Default parameters (/thread-3363.html) |
Default parameters - salvomic - 03-13-2015 10:13 PM hi, I don't remember if it's possible to give a default value to a parameter in the EXPORT() function in a (Home) program... if yes, what's its syntax? Code:
I mean to make the parameter p optional: i.e. if the user doesn't input parameter, p should get the default value of 3... |