vas*_*vas 9 delphi compiler-errors
我在编译.pas文件时遇到错误.
"不满意的前向或外部声明:TxxxException.CheckSchemeFinMethodDAException."
有谁知道这个错误意味着什么?
这是否意味着
CheckSchemeFinMethodDAException没有在所有相关文件中调用?
您可能忘记了在实现部分中将类名放在函数名之前。例如,以下代码将产生错误:
unit Unit1;
interface
type
TMyClass = class
function my_func(const text: string): string;
end;
implementation
function my_func(const text: string): string;
begin
result := text;
end;
end.
Run Code Online (Sandbox Code Playgroud)
要修复,只需将函数实现更改为TMyClass.my_func(const text: string): string;.
| 归档时间: |
|
| 查看次数: |
25113 次 |
| 最近记录: |