Post Reply 
Little explorations with HP calculators (no Prime)
09-25-2017, 12:23 AM
Post: #232
RE: Little explorations with HP calculators (pre Prime)
(09-24-2017 08:17 PM)pier4r Wrote:  Sometimes this problems happens to me but finally I decode it. (I asked this already but I was not sure)

in userRPL if I write a comment like this:
@@test
in the program on the calculator 'test' is left .

Does that mean that
@this is a comment until the end of the line
while
@this is a comment until the next at@ while this are program statements
is until the second '@' ?

Does anyone know the proper behavior of how '@' is interpreted in all cases?

From the AUR, p. 1-7:

Creating Programs on a Computer

It is convenient to create programs and other objects on a computer and then load them into the calculator.

If you are creating programs on a computer, you can include “comments” in the computer version of the program.

To include a comment in a program:

 Enclose the comment text between two @ characters. or
 Enclose the comment text between one @ character and the end of the line.

Whenever the calculator processes text entered in the command line — either from keyboard entry or transferred from a computer — it strips away the @ characters and the text they surround. However, @ characters are not affected if they’re inside a string.

I agree, there is always something new to learn about the 50g.

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Little explorations with HP calculators (pre Prime) - rprosperi - 09-25-2017 12:23 AM



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