以下是引用fdqzy在2021-9-17 12:07:25的发言:
create cursor b1 (m1 c(1))
insert into b1 values ("")
insert into b1 values ("1")
insert into b1 values ("N")
insert into b1 values ("8")
insert into b1 values ("M")
insert into b1 values ("5")
这种表如何求数字的1,2,3大的值?
CLEAR
SET COLLATE TO "MACHINE"
create cursor b1 (m1 c(1))
insert into b1 values ("")
insert into b1 values ("1")
insert into b1 values ("N")
insert into b1 values ("8")
insert into b1 values ("M")
insert into b1 values ("5")
COPY TO ARRAY abb
ASORT(abb, 1, ALEN(abb), 1)
LIST MEMORY LIKE abb
下标即排序的名次