Post Reply 
Little explorations with HP calculators (no Prime)
09-25-2017, 12:12 AM
Post: #231
RE: Little explorations with HP calculators (pre Prime)
(09-24-2017 08:17 PM)pier4r Wrote:  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?

I only know that it starts ignoring at the first @, and stops ignoring after the next @, hence one reason why it's difficult to embed email addresses in a comment. This doesn't hold true for @ inside " or ' though, otherwise we'd be in all sorts of bother.

Others will be able to perhaps quote chapter/verse of applicable manuals.

(Post 94)

Regards, BrickViking
HP-50g |Casio fx-9750G+ |Casio fx-9750GII (SH4a)
Visit this user's website 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) - brickviking - 09-25-2017 12:12 AM



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