#2
王咸美2023-05-08 07:10
|
请高手赐教,不胜感谢!!!
[本贴为旧贴,只为学习用,不喜权当路过]
只有本站会员才能查看附件,请 登录
只有本站会员才能查看附件,请 登录
CLEAR
fz='a10b09c08d07'
ls='语文数学外语'
zhifu='aaddcdadbbabbbc'
FOR i=1 TO 15 STEP 5
vz = SUBSTR(zhifu,i,5)
jg = 0
FOR j=1 TO 12 STEP 3
zz = SUBSTR(fz,j,1)
zzz = VAL(SUBSTR(fz,j+1,2))
jg = jg +(LEN(vz)-len(CHRTRAN(vz,zz,'')))*zzz
ENDFOR
?SUBSTR(ls,((i-1)/5)*4+1,4)+":"+STR(jg,4)
ENDFOR
[此贴子已经被作者于2023-5-8 07:08编辑过]