⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dws2strings.pas

📁 script language
💻 PAS
📖 第 1 页 / 共 2 页
字号:
  CPE_TypeExpected = 'Type expected';
  CPE_TypeUnknown = 'Type "%s" not found';
  CPE_InvalidType = '%s is not a Type!';
  CPE_UnknownMember = 'There''s no member with name "%s"!';
  CPE_NoMemberExpected = 'Neither a record nor an object!';
  CPE_NoArrayExpected = 'Not an array!';
  CPE_NoMethodExpected = 'Not a method!';
  CPE_InvalidInstruction = 'Invalid Instruction - function or assignment expected';
  CPE_EndOfBlockExpected = 'End of block expected';
  CPE_ContructorExpected = 'Constructor expected';
  CPE_TooManyArguments = 'Too many arguments!';
  CPE_TooLessArguments = 'More arguments expected!';
  CPE_NoArgumentsExpected = 'No arguments expected!';
  CPE_WrongArgumentType = 'Argument %d expects type "%s"';
  CPE_WrongArgumentType_Long = 'Argument %d expects type "%s" instead of "%s"';
  CPE_NoDefaultProperty = 'Class "%s" has no default property';
  CPE_ConstVarParam = 'Argument %d cannot be passed as Var-parameter';

  CPE_InvalidOperands = 'Invalid Operands';
  CPE_IncompatibleOperands = 'Incompatible operands';

  // TypeCheck
  CPE_BooleanExpected = 'Boolean expected';
  CPE_IntegerExpected = 'Integer expected';
  CPE_NumericalExpected = 'Numerical operand expected';
  CPE_BooleanOrIntegerExpected = 'Boolean or integer operand expected';
  CPE_ObjectExpected = 'Object expected';
  CPE_ClassRefExpected = 'Class reference expected';

  CPE_IncompatibleTypes = 'Incompatible types: "%s" and "%s"';
  CPE_AssignIncompatibleTypes = 'Incompatible types: Cannot assign "%s" to "%s"';
  CPE_RangeIncompatibleTypes = 'Range start and range stop are of incompatible types: %s and %s';

  // Connector
  CPE_ConnectorCall = 'Method "%s" not found in connector "%s"';
  CPE_ConnectorMember = 'Member "%s" readonly or not found in connector "%s"';
  CPE_ConnectorTypeMismatch = 'Type mismatch in connector';
  CPE_ConnectorIndex = 'No index access in connector "%s"';

  // Others
  CPE_ConstantExpressionExpected = 'Constant expression expected';
  CPE_IntegerExpressionExpected = 'Integer expression expected';
  CPE_InvalidConstType = 'Invalid const type "%s"';

  CPE_CompilerSwitchUnknown = 'Compilerswitch "%s" unknown';

  CPE_IncludeFileNotFound = 'Couldn''t find file "%s" on input paths';
  CPE_IncludeFileExpected = 'Name of include file expected';

  CPE_TypeIsUnknown = 'Type "%s" unknown';
  CPE_TypeForParamNotFound = 'Type "%s" not found for parameter "%s" of function "%s"';
  CPE_FieldExists = 'There is already a field with name "%s"';
  CPE_PropertyExists = 'There is already a property with name "%s"';
  CPE_MethodExsists = 'There is already a method with name "%s"';

  CPE_NoResultTypeRequired = 'No result type required';
  CPE_ResultTypeExpected = 'Result type expected';

  CPE_CanNotOverride = 'Method %s not found in parent class. Can''t override!';
  CPE_InvalidArgCombination = 'Invalid argument combination';

  // Units
  CPE_UnitNotFound = 'Unit "%s" referenced in unit "%s" not found';
  CPE_UnitCircularReference = 'Circular referencing units detected!';
  CPE_FilterDependsOnUnit = 'The filter "%s" depends on unit "%s" that is not available.';
  CPE_ResultTypeDependsOnUnit = 'The result-type "%s" depends on unit "%s" that is not available.';
  CPE_NoStaticSymbols = 'Invalid use of static symbols!';

  // Filter
  CPE_NoFilterAvailable = 'There is no filter assigned to TDelphiWebScriptII.Config.Filter';

  // TOKENIZER ERRORS
  TOK_InvalidChar = 'Invalid character';
  TOK_EqualityExpected = '"=" expected.';
  TOK_NumberExpected = 'Number expected';
  TOK_HexDigitExpected = 'Hexadecimal digit expected';
  TOK_NumberPointExponentExpected = 'Number, point or exponent expected';
  TOK_NumberExponentExpected = 'Number or exponent expected';
  TOK_NumberSignExpected = 'Number or minus expected';
  TOK_GreaterEqualityExpected = '">" or "=" expected';
  TOK_StringTerminationError = 'End of string constant not found (end of line)';
  TOK_InvalidHexConstant = 'Invalid hexadezimal constant "%s"';
  TOK_InvalidCharConstant = 'Invalid char constant "%s"';
  TOK_InvalidIntegerConstant = 'Invalid integer constant "%s"';
  TOK_InvalidFloatConstant = 'Invalid floating point constant "%s"';
  TOK_GreaterThanExpected = '> expected';
  TOK_NameOfSwitchExpected = 'Name of compiler switch expected';
  TOK_DotExpected = '"." expected';

  // Constants of TMsgs in dws2Errors.pas
  MSG_SyntaxErrorLong = 'Syntaxerror: %s [line: %d, column: %d, file: %s]';
  MSG_RuntimeErrorLong = 'Runtimeerror: %s [line: %d, column: %d, file: %s]';
  MSG_DatatypeMissing = 'Invalid type: %s!';

  MSG_MainModule = '*MainModule*';
  MSG_Info = 'Info: %s';
  MSG_Error = 'Error: %s';
  MSG_ScriptMsg = '%s [line: %d, column: %d]';
  MSG_ScriptMsgLong = '%s [line: %d, column: %d, file: %s]';
  MSG_Hint = 'Hint: %s';
  MSG_Warning = 'Warning: %s';
  MSG_SyntaxError = 'Syntax Error: %s';
  MSG_RuntimeError = 'Runtime Error: %s';

  // Runtime Errors, Exceptions
  // ==========================
  RTE_CantRunScript = 'Script compiled with errors. Can''t execute!';
  RTE_ScriptAlreadyRunning = 'Script is already running!';
  RTE_ScriptStopped = 'Script was stopped.';
  RTE_StateInitializedExpected = 'ProgramState "psInitialized" expected.';

  RTE_InstanceOfAbstractClass = 'Trying to create an instance of an abstract class';
  RTE_ArrayUpperBoundExceeded = 'Upper bound exceeded! Index %d';
  RTE_ArrayLowerBoundExceeded = 'Lower bound exceeded! Index %d';
  RTE_InvalidBreak = 'break without for/while/repeat or case';
  RTE_InvalidContinue = 'continue without for/while/repeat or case';
  RTE_ClassCastFailed = 'Can''t cast instance of type "%s" to class "%s"';
  RTE_InvalidFunctionCall = 'Function not assigned';

  RTE_ScriptException = 'Script exception: %s';
  RTE_UserDefinedException = 'User defined exception!';

  // Connectors
  RTE_ConnectorCallFailed = 'Connector Call "%s" failed';
  RTE_ConnectorReadError = 'ConnectorRead error';
  RTE_ConnectorWriteError = 'ConnectorWrite error';


  // Stack
  RTE_MaximalDatasizeExceeded = 'Maximal data size exceeded (%d Variants)';

  // TProgramInfo/TInfo
  RTE_VariableNotFound = 'Variable "%s" not found';
  RTE_FunctionNotFound = 'Function/Method "%s" not found';
  RTE_DatatypeNotFound = 'DataType "%s" not found!';

  RTE_OnlyVarSymbols = '.Vars[] can''t handle this symbol: "%s". Use .Func[] or .Method[] instead';
  RTE_OnlyFuncSymbols = '.Func[] can''t handle this symbol: "%s". Use .Vars[] instead';

  RTE_InvalidOp = 'Operation "IInfo.%s" not possible on a symbol of type "%s"!';

  RTE_NoMemberOfClass = '"%s" isn''t a member of class "%s"';
  RTE_NoClassNoMethod = '"%s" is not a class and has no method "%s"';
  RTE_MethodNotFoundInClass = 'Method "%s" not found in class "%s"';

  RTE_CanNotReadComplexType = 'To read a value of complex type "%s" use .Data!';
  RTE_CanNotSetValueForType = 'To write values of type "%s" use .Data!';
  RTE_CanOnlyWriteBlocks = 'Use the .Data property of the type "%s" instead of "%s"';

  RTE_InvalidInputDataSize = 'Input data of invalid size: %d instead of %d';
  RTE_InvalidNumberOfParams = 'Invalid number of parameters (%d instead of %d) to call function %s';
  RTE_UseParameter = 'Use ''Parameter'' property to set paramter "%s" of Function "%s"';
  RTE_NoParameterFound = 'No parameter "%s" found in function "%s"';

  RTE_NoRecordMemberFound = 'No member "%s" found in record "%s"';
  RTE_NoArray = '"%s" is not an array!';

implementation

end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -