Post Reply 
RPL comment syntax
08-27-2023, 11:05 AM
Post: #8
RE: RPL comment syntax
(08-27-2023 08:34 AM)Gilles Wrote:  Hi all,

I don't really like the idea of comments starting with '$' because '$' is a character that can be used in object names in rpl (variables, programs...).

Valid point.

Quote:By the way, I saw that you used lowercase for RPL commands. Does that mean the commands are not case sensitive? I never liked the fact that standard RPL commands were in UPPERCASE (not to mention the ugly triglyphs or whatever that horrible name was!)

Yes, at the moment, DB48X is case insensitive. The rendering can use one of four styles (which are all accepted by the parser):

* Legacy ("RKF")
* MixedCase ("InitialValueSolver")
* UPPERCASE ("INITIALVALUESOLVER")
* lowercase ("initialvaluesolver")

At the moment, variable lookup is also case insensitive, so that your 'EQ' variable can be 'eq' or 'Eq'. Some built-in variables also have alternate names, e.g. 'PPAR' can be stored in 'PlotParameters'.
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)