Post Reply 
newRPL - Updated to build 1510 [official build remains at 1487]
08-16-2023, 02:21 PM (This post was last modified: 08-19-2023 08:08 PM by Gilles.)
Post: #301
RE: newRPL - Updated to build 1510 [official build remains at 1487]
Hi Claudio,

There is a problem with the SORT command, both with build 1510 and 1487 :

Code:
{ "a" "c" "b" } SORT
returns an error : " Expected a real number"

and
Code:
{ { 1 "A" } { 2 "B" }} SORT
=> Crash badly

EDIT : I just saw in the newRPL WIKI that SORT only applies to numbers for now. I will add in LstX a LSORT command that sorts other types of objects , and a command inspired by KSORT for specific sorts. Could be something like :

{ "ABCD" "AAAAA" "B" "BB" } « SIZE » KSORT
=> { "B" "BB" "ABCD" "AAAAA" }

new EDIT ;D : I ve created a thread for the new and futures versions of LstX :
https://www.hpmuseum.org/forum/thread-20345.html

I've add strings manipulation commands and comparaison, and a new DOSORT command (to sort list of strings, or things like "sort this list of words by number of letters).
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Navigating through sub-menus - Gilles - 05-13-2023, 11:31 AM
RE: newRPL - Updated to build 1510 [official build remains at 1487] - Gilles - 08-16-2023 02:21 PM
It's a mystery to me... - Klaus - 11-27-2023, 12:24 PM



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