Post Reply 
Little explorations with HP calculators (no Prime)
06-01-2017, 07:44 PM (This post was last modified: 06-01-2017 07:54 PM by Vtile.)
Post: #221
RE: Little explorations with the HP calculators
(06-01-2017 07:00 PM)pier4r Wrote:  I was able only to find this reference:

(09-30-2016 04:36 PM)Guenter Schink Wrote:  2. is already available:
a: @this a volatile comment @
b: @@this is a persistent comment@@

From this thread.

I noticed there and there the usage of "@@" in comments.

I know that "@ it is seen as comment in userRPL until end of line or the next @" but I did not try around the "@@" , is it 'just' persistent (that is, it can be seen on the calculator even after saving the program) or does it also expand on the next line until a closing "@@" is written? (that is, a multiline comment)

(bonus question: I do not remember seeing @@ in the official documentation for the 50g, is it another of my mistakes? )
I think you are now falling to two similar, but not identical language trap! That thread is pure newRPL discussion. NewRPL allows persistent comments with that format, while userRPL do not.

UserRPL is memory optimised in that regard, it cuts the comments out to preserve precious 128kB 2kB of memory(..or what the size were back in the first models using RPL).
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Little explorations with the HP calculators - Vtile - 06-01-2017 07:44 PM

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