Post Reply 
Return: how get two more values and two lines?
03-08-2015, 10:12 PM
Post: #1
Return: how get two more values and two lines?
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

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
03-08-2015, 10:24 PM
Post: #2
RE: Return: how get two more values and two lines?
(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.

Marcus von Cube
Wehrheim, Germany
http://www.mvcsys.de
http://wp34s.sf.net
http://mvcsys.de/doc/basic-compare.html
Find all posts by this user
Quote this message in a reply
03-08-2015, 10:35 PM
Post: #3
RE: Return: how get two more values and two lines?
(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

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
03-08-2015, 10:48 PM
Post: #4
RE: Return: how get two more values and two lines?
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.

TW

Although I work for HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
03-08-2015, 10:51 PM
Post: #5
RE: Return: how get two more values and two lines?
(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.

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




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