errors.pas
来自「一个编译器源代码。用法看里面的“使用说明”」· PAS 代码 · 共 29 行
PAS
29 行
unit Errors;
interface
const
{ *** Fatal errors *** }
NotSupportedFormat = 'The format of the program is not supported';
{ *** Errors *** }
WrongSyntax = 'Wrong syntax in expression';
WrongCountOfArgs = 'Wrong count of arguments in function';
NotConstant = 'Value is not a constant';
ErrorInExpression = 'Error in expression';
DontExists = 'Symbol doesn''t exists';
SymbolAlreadyExists = 'Symbol already exists';
InvalidSize = 'Invalid size of variable';
WrongMaxSize = 'Too large max size';
WrongAlias = 'Not correct alias syntax';
NoBeginEnd = 'Can''t find the beginning or the end of the program';
SymbolRequired = 'Require a symbol';
{ *** Warnings *** }
NotReturnAnyData = 'This function does not return any data';
ExtraNotAvailable = 'You cannot add extra information to result';
implementation
end.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?