amo · 2008-05-26 18:44:03 · 阅读: 409 不能把动态变量值赋值给常量,不过这样是可以的 type TProc = function(str:pAnsichar): Cardinal; var p: TProc p:= @RegisterWindowMessage;