首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > .NET >

求答案,该怎么处理

2013-06-19 
求答案if edit1.Text:1thenform2 show end错在哪为什么提示错误是 type of expression must beboolea

求答案
if edit1.Text:='1'then
     form2 show ;
end;

错在哪
为什么提示错误是 type of expression must be  boolean boolean
[解决办法]
if edit1.Text:='1'then
改成
if edit1.Text='1'then
:=是赋值,判断直接一个=号就可以了

热点排行