newRPL - Updated to build 1510 [official build remains at 1487]
|
09-09-2021, 03:47 PM
Post: #190
|
|||
|
|||
RE: newRPL - Updated to build 1497 [official build remains at 1487]
(09-09-2021 07:49 AM)JoJo1973 Wrote:(09-09-2021 03:19 AM)Claudio L. Wrote: The automatic checker will never give an error like "Expected a real number 0<x<30" unfortunately. OK, so let's get organized: The commands would be then 2 separate ones: Code:
Where the <Error/Message> parameter can be as you described above. CKARG would return the POS of the item that matches, or 0 if no match. No error is thrown. CKARGERR returns the POS of the item, otherwise throws the given error message (or XEQ the handler). Now there's 2 possible error conditions: a) If the stack is not deep enough ---> issues a "Bad Argument Count" error, it does NOT run the handler or use the given message b) If there's no match ---> Custom message / XEQ error handler Are we good with this? I think specs are pretty much finished, let's agree on names and I can get coding. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)