
程序代码:
CREATE CURSOR tt (xh n(2), xm c(4))
FOR ln1 = 1 TO 2
FOR ln2 = 1 TO 15
INSERT INTO tt VALUES (ln2, "")
ENDFOR
ENDFOR
INSERT INTO tt VALUES (1, "")
INSERT INTO tt VALUES (2, "")
REPLACE xm WITH ICASE(xh%3 = 1, "昨天", xh%3 = 2, "今天", "明天") ALL
BROWSE