.if eax > 1
mov iStore[eax-1],0
mov iDisplay[eax-1],0
invoke SetDlgItemText,hWnd,IDE,addr iStore
.else
invoke SetDlgItemText,hWnd,IDE,addr szButtonText0 ;显示清零
mov iDisplay[0],0 ;将缓冲区的置空
.endif
.endif
.if wParam== IDB_Ce
mov iDisplay[0],'0'
mov iDisplay[1],0
invoke SetDlgItemText,hWnd,IDE,addr iDisplay
mov iDisplay[0],0
finit
fldz
fst iNumber2 ;将当前的数据清空
finit
.endif
.if wParam == IDB_C ;所有的运算都清零,全部重新开始
mov iDisplay[0],'0'
mov iDisplay[1],0
invoke SetDlgItemText,hWnd,IDE,addr iDisplay
论文网http://www.751com.cn/mov iDisplay[0],0
finit
fldz ;清零
fst iNumber1
fst iNumber2
finit
mov iEqual,0
.endif
.if wParam == IDB_Sign
invoke GetDlgItemText,hWnd,IDE,addr iStore,20+1
invoke StrToFloat,addr iStore,addr iResult
finit
fld iResult
ftst ;比较和0的大小
<< 上一页 [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] 下一页