我在unit2中定义了一个数组(如下),然后在unit2中赋值,想在unit1中使用,我就use unit2,可是Label1.Caption:=aInfo[1].sName编译不通过,请问我如何测能使用Unit2中赋值的这个数组interfacetype
  TSInfo=record
    sName:string;
    sIntro:string;
end;implementationvar
  aInfo:array [1..10] of TInfo;
begin
  aInfo[1].sName:='a';
  aInfo[1].sIntro:='b';
end.