Post Reply 
line breaks with HP50g
08-29-2015, 09:18 AM (This post was last modified: 08-29-2015 09:36 AM by tigger.)
Post: #6
RE: line breaks with HP50g
(08-28-2015 08:04 PM)Joe Horn Wrote:  
(08-28-2015 05:24 PM)tigger Wrote:  Let me give you an example:
<< 2 - 1 5 √ + 2 / → N H
<< H N 2 + ^ 1 H - N 2 + ^ - 5 √ / EVAL >> >>

If I had paragraphs in this program I could understand it in a better way.

<< 2 -
1 5 √ +
2 /
→ N H

...

Do you understand my question?

By "paragraphs" do you mean "line breaks"? If so, no, you can't embed line breaks in RPL programs between commands. All unnecessary "white space" and line feeds are removed by the parser. However, you can keep a copy saved under a different name, containing the program in string form, which you can either VIEW or EDIT, and that way whatever line feeds AKA carriage returns / newlines / line breaks / paragraphs (?) you insert would be displayed exactly the way you want.

If you mean something else by "paragraphs" please explain. The dictionary definition of "paragraph" seems unrelated to your question.

Yes, right, may I say "carriage returns", too.

I guess you explained many steps in one sentence. Could I ask you to explain your solution more detailed?
1. copy the program and save it under a different name
2. edit the program (F1, under TOOL (2.3)) or view the program (F2, under TOOL (2.3))

What happens now? What do I have to do now?
AKA carriage returns / newlines / line breaks / paragraphs ??? (I am beginner. I do not understand this.)


Could we then study my small program? So far my knowledge of programming is small. I was given the program to make it work. I debugged the program. I did not understand the "grammar" of the line.

There might be a link for beginners in the net?

thanks for your help
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
line breaks with HP50g - tigger - 08-25-2015, 05:19 PM
RE: Paragraphs - Allen - 08-28-2015, 02:03 AM
RE: Paragraphs - tigger - 08-28-2015, 05:24 PM
RE: Paragraphs - Joe Horn - 08-28-2015, 08:04 PM
RE: Paragraphs - Allen - 08-28-2015, 10:41 PM
RE: line breaks with HP50g - tigger - 08-29-2015, 09:39 AM
RE: line breaks with HP50g - tigger - 08-29-2015 09:18 AM
RE: line breaks with HP50g - Joe Horn - 08-30-2015, 07:30 AM
RE: line breaks with HP50g - tigger - 08-30-2015, 11:46 AM
RE: line breaks with HP50g - Joe Horn - 08-30-2015, 12:48 PM



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