, 01 1970 . 03:00
+
!
.
, :
[Code]
type
TBinar: array of Byte;
...
function ...(AStr: String): Word;
var B1: TBinar; //
B2: TBinar; //
I: Integer;
begin
//
SetLength(B1, Length(AStr) * SizeOf(AStr[1]));
SetLength(B2, 0);
Move(AStr[1], B1[0], Length(B1));
// 2
for I := 0 to Length(B1) - 1 do
if B1[I] <> 0 then
begin
SetLength(B2, L ...
http://www.delphikingdom.com/asp/answer.asp?IDAnswer=83165