回复 4楼 王咸美
** 题号按原来的,可以改为顺序号
SELECT TOP 50 RAND() r, * FROM ds ORDER BY r INTO CURSOR tmp
SELECT tmp
SET TEXTMERGE ON NOSHOW
SET TEXTMERGE TO MEMVAR cTxt
SCAN
\<<题目>>
\答案:<<答案>>
\
ENDSCAN
SET TEXTMERGE TO
SET TEXTMERGE OFF
STRTOFILE(cTxt,"tmp.txt")
MODIFY FILE tmp.txt
RETURN