Post Reply 
newRPL - build 1255 released! [updated to 1299]
02-15-2019, 11:03 PM
Post: #375
RE: newRPL - build 1089 released! [update:build 1158]
(02-15-2019 08:24 PM)The Shadow Wrote:  Oooh! I *like* the idea of case lists!! I'm going to have to sit down and do some serious pondering about how to take best advantage of them.

Is there a ->CLIST command or equivalent?

c{ 1 -1 } might be worth adding as a constant, not sure yet. It probably comes up more often than any other set of cases, though.

I won't be able to test until I get home from work, but I'll dive right in at that point!

Is there any way to add to the constant library?

There's no ->CLIST command at the moment. For now you can type them in, I added only one command RANGE(start, end,step) similar to the python range() function that I needed to implement ALLROOTS rules. It returns a case list.

Regarding adding to the constant library, if you mean add constants in ROM yes you can, the source code is plain RPL. If you want to add user constants, just store the value in a variable and make it read only with LOCKVAR. It will essentially become a constant, I'm not sure there's any practical difference with doing it as a constant object.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: newRPL - build 1001 released! - pier4r - 12-16-2017, 08:03 AM
newRPL - on Hp 39gs - Martin Hepperle - 06-05-2019, 06:51 AM
RE: newRPL - build 1001 released! - pier4r - 12-23-2017, 10:16 AM
RE: newRPL - build 1001 released! - pier4r - 01-01-2018, 09:42 AM
t - Claudio L. - 01-01-2018, 03:06 PM
RE: newRPL - build 1001 released! - pier4r - 01-01-2018, 03:41 PM
RE: newRPL - build 1001 released! - pier4r - 01-02-2018, 04:54 PM
RE: newRPL - build 1001 released! - pier4r - 01-02-2018, 06:58 PM
newRPL - brickviking - 10-05-2018, 06:01 AM
RE: newRPL - build 1089 released! [update:build 1158] - Claudio L. - 02-15-2019 11:03 PM
How to participate? - erazor - 12-13-2019, 07:12 AM



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