主题:检查不出错误,谁来帮帮忙~~~~~~~~~
var
hello1:array[0..5] of char;
hello2:array[0..5] of char;
begin
hello1[0]:='n';
hello1[1]:='i';
hello1[2]:='h';
hello1[3]:='a';
hello1[4]:='o';
hello1[5]:=chr(0);
hello2:=hello1;
showmessage(hello2);
end;
hello1:array[0..5] of char;
hello2:array[0..5] of char;
begin
hello1[0]:='n';
hello1[1]:='i';
hello1[2]:='h';
hello1[3]:='a';
hello1[4]:='o';
hello1[5]:=chr(0);
hello2:=hello1;
showmessage(hello2);
end;