慢慢成長 ( 积分: 50 )

C

czcn

Unregistered / Unconfirmed
GUEST, unregistred user!
剛學寫程序時
if (abc = true) and (bcd mod 5) then
...
後來
if abc and (bcd mod 5) then
cde := true
else
cde := false;
現在
cde := (abc and (bcd mod 5));
 
剛學寫程序時
if (abc = true) and (bcd mod 5) then
...
後來
if abc and (bcd mod 5) then
cde := true
else
cde := false;
現在
cde := (abc and (bcd mod 5));
 
以后
cde := abc and (bcd mod 5);
去掉括号,哈哈
 
接受答案了.
 

Similar threads

S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
I
回复
0
查看
733
import
I
I
回复
0
查看
738
import
I
顶部