HP Forums

Full Version: Return: how get two more values and two lines?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to get two line in RETURN()?
in #CAS program it works
return a, b, c;
nut with Home programs it doesn't.
I tried \n but no luck...

Thanks in advance!

Salvo
(03-08-2015 10:12 PM)salvomic Wrote: [ -> ]How to get two line in RETURN()?

The only way to return more than one value from a PPL program is to return a list or a vector.
(03-08-2015 10:24 PM)Marcus von Cube Wrote: [ -> ]The only way to return more than one value from a PPL program is to return a list or a vector.

understood...

I've more variable, and for now I do so:
Code:

RETURN ("ST ="+ st + " F = "+ f + " μ = " + mm + " σ2 = " + ss);

but there are already too things in a line...
And then, this is a string and I would like to get numerical values.

thanks
Export the variables by name you'd like the user to have access to directly. Store into those as the last part of your program.
(03-08-2015 10:48 PM)Tim Wessman Wrote: [ -> ]Export the variables by name you'd like the user to have access to directly. Store into those as the last part of your program.

ok, thanks, I'll try so.
Reference URL's