Post Reply 
RPL comment syntax
08-27-2023, 12:08 PM
Post: #9
RE: RPL comment syntax
(08-27-2023 03:56 AM)Claudio L. Wrote:  NewRPL has those 2 cases and adds @@@ as a multiline comment that doesn't end until it finds another @@@ so it's useful to comment out entire blocks of code.

Another feature in newRPL is a flag to retain all comments. If it's not set then only @@ comments are kept (those are permanent no matter what).

I knew I had seen this before and thought I was remembering these came from NewRPL and planned to verify so today, thanks for confirming so Cladio.

(08-27-2023 06:45 AM)c3d Wrote:  Hmm. I think this is backwards from a usability perspective: on the calculator, you don't want to waste screen space with two @. It's OK to have @@ on a large computer screen, it's much more annoying on the tiny screen of a calculator.

The extra @ on the small screen is a fair point, however I think this is outweighed by the fact that the vast majority of comments in code will be the disposable type, so it makes more sense to use the less visually-disturbing single @ most often. Also, in the PC editor, the @@ will be easier to see when scanning for those sections.

Just my 2 cents...

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


Messages In This Thread
RPL comment syntax - c3d - 08-26-2023, 11:49 PM
RE: RPL comment syntax - Raymond Del Tondo - 08-27-2023, 01:03 AM
RE: RPL comment syntax - rprosperi - 08-27-2023, 01:29 AM
RE: RPL comment syntax - Claudio L. - 08-27-2023, 03:56 AM
RE: RPL comment syntax - c3d - 08-27-2023, 06:45 AM
RE: RPL comment syntax - rprosperi - 08-27-2023 12:08 PM
RE: RPL comment syntax - John Keith - 08-27-2023, 04:34 PM
RE: RPL comment syntax - Gilles - 08-27-2023, 08:34 AM
RE: RPL comment syntax - c3d - 08-27-2023, 11:05 AM
RE: RPL comment syntax - John Keith - 08-27-2023, 04:19 PM
RE: RPL comment syntax - Helix - 08-27-2023, 11:00 AM
RE: RPL comment syntax - BruceH - 08-27-2023, 05:13 PM



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