blob: 64929577c95c1aea83fc2260af77678b72541572 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ %opt=-Sen -vn }
{$mode delphi}
function calclength1(const s1: shortstring): integer;
var
s2: shortstring;
begin
s2 := s1;
result := length(s2);
end;
function calclength2(const s1: ansistring): integer;
var
s2: ansistring;
begin
s2 := s1;
result := length(s2);
end;
begin
end.
|