SetLength(aa, 1000); -->设置动态数组aa为1000个长度单位,即是在内存中为数组aa分配空间。SetLength(1000, aa);-->参数输入错误,无此用法。length(aa)-->计算和返回数组aa当前的长度。