紫
紫竹林23424
Unregistered / Unconfirmed
GUEST, unregistred user!
function ThreadRun1(Parameter: Pointer): Integer
var
MyForm:TFrmBeginThread;
i:integer;
begin
MyForm:=FrmBeginThread;
i := 0
//初始值为0
for i:=0 to 10 do //循环0到10
begin
if i = 10 then i := 0
// 如果i遇到10则i变为0,无限循环,编译时,这句出错,不知道哪里错了
FrmBeginThread.LbCount1.Caption:=inttostr(i);
end;
end;
var
MyForm:TFrmBeginThread;
i:integer;
begin
MyForm:=FrmBeginThread;
i := 0
//初始值为0
for i:=0 to 10 do //循环0到10
begin
if i = 10 then i := 0
// 如果i遇到10则i变为0,无限循环,编译时,这句出错,不知道哪里错了
FrmBeginThread.LbCount1.Caption:=inttostr(i);
end;
end;