常规参数
文章标题:
权重:
文章摘要:
问:我用procedure Proc(var A:array[1..10] of integer);怎么都不能编译通过,难道Delphi不能传递数组作为参数吗?答:必须先用Type定义一下即可:typeTProcArray=array[1..10] of integer;procedure Proc(var A:TProcArray);这样就没有问题了,而且对于动态数组也可
关键字:
函数 或者 过程 传递 如何 Proc var procedure 问题 A:TProcArra
管理密码: