Runtime error 217 at 00402840的错误原因 一般是数组或指针错误,今天调试程序时误把数组下限设成10引发了题目所示错误。 aModalArray:array[10..10] of TPanel; aModalArray[1]……