I iceiceberg Unregistered / Unconfirmed GUEST, unregistred user! 2003-10-18 #1 声明了一个二维动态数组:a:array of boolean; 在程序中如何使用setLength来为其初始化个数呢? (比如说行为R,列为C。) 运行通过马上给分!!!
稻 稻草 Unregistered / Unconfirmed GUEST, unregistred user! 2003-10-18 #2 a:array of array of boolean; SetLength(a, 2,3);
Z zhihuali Unregistered / Unconfirmed GUEST, unregistred user! 2003-10-18 #3 var I : Integer; a : array of Boolean; begin SetLength(a, 10); for I := 0 to 9 do a := True; end;
Y ymf Unregistered / Unconfirmed GUEST, unregistred user! 2003-10-18 #4 var a : array of array of Boolean; begin SetLength(a, 2,3) end
I iceiceberg Unregistered / Unconfirmed GUEST, unregistred user! 2003-10-18 #5 谢谢稻草,给分了。 to zhihuali:不好意思,我说的是多维的数组。