Z
zdyue
Unregistered / Unconfirmed
GUEST, unregistred user!
目的: 返回兩個字符串對應位置的相同字符的個數.
定義: function getSameCharCount(a,b:string):integer;
asm
//用匯編語言編寫
end;
執行: 比如: a='abcd' b='cbce' result=2
又如: a='21' b='12' result=0
又如: a='123' b='103' result=2
約定: a,b是長度相等的字符串
該過程在DELPHI中掉用
定義: function getSameCharCount(a,b:string):integer;
asm
//用匯編語言編寫
end;
執行: 比如: a='abcd' b='cbce' result=2
又如: a='21' b='12' result=0
又如: a='123' b='103' result=2
約定: a,b是長度相等的字符串
該過程在DELPHI中掉用