المشاركات : 1
المواضيع 1
:
: 3
الإنتساب : Sep 2019
13-07-2020, 02:21 PM
(آخر تعديل لهذه المشاركة: 16-07-2020, 06:04 PM بواسطة لؤي.)
PHP كود :
ccp := Edit9.GetTextLen;
if (ccp <=10) then
Code := 0;
Coeff := 4;
for i := CCP downto 1 do
begin
Code := Code + StrToInt(edit9.text[i]) * Coeff;
Inc(Coeff);
end;
edit10.Text:=inttostr(StrToInt(copy (code,1,2) ));
--------هنا مشكلة compliation e2008 type incomptaible
اعمل على delphi10.3 rio communoty edition
شكرا
المشاركات : 522
المواضيع 46
:
: 394
الإنتساب : Sep 2011
(13-07-2020, 02:21 PM)dz-amine كتب : ccp := Edit9.GetTextLen;
if (ccp <=10) then
Code := 0;
Coeff := 4;
for i := CCP downto 1 do
begin
Code := Code + StrToInt(edit9.text[i]) * Coeff;
Inc(Coeff);
end;
edit10.Text:=inttostr(StrToInt(copy (code,1,2) )); --------هنا مشكلة compliation e2008 type incomptaible
اعمل على delphi10.3 rio communoty edition
شكرا
الدالة copy تعمل مع النصوص ، حول code إلى نص