6
6713829
Unregistered / Unconfirmed
GUEST, unregistred user!
var<br> Form1: TForm1;<br> buffer:array of char;<br><br>implementation<br><br>{$R *.dfm}<br><br>procedure TForm1.Button1Click(Sender: TObject);<br>Var<br> buffer:array of char;<br>Begin<br>For I:=0 To 1 Do<br>Begin<br>setlength(buffer,Leng);<br>End;<br>End;<br>报错,<br>错误在setlength(buffer,Leng);这里,<br>设置第一次长度没有报错,在第二次设置长度时报错!!!<br><br>那位大侠帮忙解决啊?!!!!!