求一个DELPHI的简单计算器代码,能运算加减乘除和退格功能就行

[复制链接]
查看11 | 回复1 | 2013-7-12 17:31:51 | 显示全部楼层 |阅读模式
procedure TForm1.btn_0Click(Sender: TObject);begin
if jl_jjccEX = true then
begin
edit1.Text := ';
jl_jjccEX := false;
end;if edit1.Text = '0' then//如果为0按0则为0
edit1.Text := '0'
else
//如果不为的情况
edit1.Text := edit1.Text + '0';if jl_jjccfh = '/' thenbegin...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行