newRPL - build 1255 released! [updated to 1299]
|
07-30-2019, 07:43 PM
Post: #541
|
|||
|
|||
RE: newRPL - build 1255 released! [updated to 1282]
On a side note, the subscript notation could be phased away and supported only at source code level to add new rules. In this way subscripts could find a new life as valid identifier characters enabling the user to write expressions such as 'X1+X2' (imagine the subscripts, anyway!)
Devil's advocate part II - more ramblings (unfortunately I'm no Keanu Reeves...) Subscripts are a bit cumbersome to use, and prone to errors. Moreover I can't imagine a valid rule where the same variable has different attributes: a situation that the subscript system allows but is avoided by design using the ASSUME command. The only advantage I can see is that variables and attributes are compacted into single entities, and this is good when you have to quickly write many rules or manipulate them (using RULEAPPLY, for example, would become more complicated.) If and when, in some future, the subscript system becomes an internal-only feature, I have a little suggestion: when in edit mode a reserved character should be attached to a variable (just like the subscripts, in fact) only to present a visual cue for the fact that some assumption on that variable has been made. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)