`
isiqi
  • 浏览: 16496832 次
  • 性别: Icon_minigender_1
  • 来自: 济南
社区版块
存档分类
最新评论

PB 的 error.number 列表

阅读更多
这是 PB 的 error.number 列表
有待继续补充


string  ls_msg
choose case error.number
 case 1//by zero
  ls_msg = "发生被 0 除错误"
 case 2//2 Null object reference 
  ls_msg = "空对象引用"
 case 3//3 Array boundary exceeded 
  ls_msg = "数组越界"
 case 4//4 Enumerated value is out of range for function 
  ls_msg = "枚举值超出函数的范围"
 case 5//5 Negative value encountered in function 
  ls_msg = "函数中遇到负数"
 case 6//6 Invalid DataWindow row/column specified 
  ls_msg = "数据窗口的列或行非法"
 case 7//7 Unresolvable external when linking reference 
  ls_msg = "链接调用时不能解决外部对象"
 case 8//8 Reference of array with null subscript 
  ls_msg = "使用空下标引用数组"
 case 9//9 DLL function not found in current application 
  ls_msg = "当前应用中没有找到动态链接库的函数"
 case 10//10 Unsupported argument type in DLL function 
  ls_msg = "使用了动态链接库函数不支持的参数类型"
 case 11//11 Object file is out of date and must be converted to current version 
  ls_msg = "对象文件已经过时并且必须使用当前的版本"
 case 12//12 DataWindow column type does not match GetItem type 
  ls_msg = "数据窗口的列的数据类型与GetItem函数的类型不符"
 case 13//13 Unresolved property reference 
  ls_msg = "属性引用尚未解决"
 case 14//14 Error opening DLL library for external function 
  ls_msg = "为外部函数调用而打开动态链接库时发生错误" 
 case 15//15 Error calling external function name 
  ls_msg = "调用外部函数时发生错误" 
 case 16//16 Maximum string size exceeded 
  ls_msg = "字符串长度超越了最大限制"
 case 17//17 DataWindow referenced in DataWindow object does not exist 
  ls_msg = "数据窗口引用的数据窗口对象不存在" 
 case 18//18 Function doesn't return value 
  ls_msg = "函数没有返回值(应该有而没有)" 
 case 19//19 Cannot convert name in Any variable to name 
  ls_msg = "不能转换Any类型的变量到另一个类型" 
 case 20//20 Database command has not been successfully prepared 
  ls_msg = "数据库命令没有成功准备" 
 case 21//21 Bad runtime function reference 
  ls_msg = "引用了错误的运行时函数" 
 case 22//22 Unknown object type 
  ls_msg = "不知道的对象类型" 
 case 23//23 Cannot assign object of type name to variable of type name 
  ls_msg = "不能将对象赋给变量,两种类型不能赋值" 
 case 24//24 Function call doesn't match its definition 
  ls_msg = "函数调用格式与其定义不一致" 
 case 25//25 Double or Real expression has overflowed 
  ls_msg = "双精度型或实型表达式溢出" 
 case 26//26 Field name assignment not supported 
  ls_msg = "不支持这种字段赋值" 
 case 27//27 Cannot take a negative to a noninteger power 
  ls_msg = "不能计算一个负数的非整数次方" 
 case 28//28 VBX Error: name 
  ls_msg = "VBX 错误" 
 case 29//29 Nonarray expected in ANY variable 
  ls_msg = "ANY 类型变量期待非数组类型" 
 case 30//30 External object does not support data type name 
  ls_msg = "外部对象不支持这种变量类型" 
 case 31//31 External object data type name not supported 
  ls_msg = "外部对象的数据类型不支持" 
 case 32//32 Name not found calling external object function name 
  ls_msg = "调用外部对象函数时函数名称没有找到" 
 case 33//33 Invalid parameter type calling external object function name 
  ls_msg = "调用外部对象函数时使用了错误的参数类型" 
 case 34//34 Incorrect number of parameters calling external object function name 
  ls_msg = "调用外部对象函数时使用的参数个数不对" 
 case 35//35 Error calling external object function name 
  ls_msg = "调用外部对象的函数错误" 
 case 36//36 Name not found accessing external object property name 
  ls_msg = "访问外部对象属性时属性名称没有找到" 
 case 37//37 Type mismatch accessing external object property name 
  ls_msg = "访问外部对象属性时使用了不匹配的类型" 
 case 38//38 Incorrect number of subscripts accessing external object property name 
  ls_msg = "访问外部对象属性时使用了错误的下标" 
 case 39//39 Error accessing external object property name 
  ls_msg = "访问外部对象的属性错误" 
 case 40//40 Mismatched ANY data types in expression 
  ls_msg = "表达式中ANY数据类型不匹配" 
 case 41//41 Illegal ANY data type in expression 
  ls_msg = "表达式中使用了非法的ANY数据类型" 
 case 42//42 Specified argument type differs from required argument type at runtime in DLL function name 
  ls_msg = "指定的参数类型与动态链接库中的函数所需要的参数类型不一致" 
 case 43//43 Parent object doesn't exist 
  ls_msg = "父对象不存在" 
 case 44//44 Function has conflicting argument or return type in ancestor
  ls_msg = "函数与祖先的参数或返回值冲突"  
 case 45//45 Internal table overflow; maximum number of objects exceeded 
  ls_msg = "内部表溢出;对象的最大数目已经超越" 
 case 46//46 Null object reference cannot be assigned or passed to a variable of this type 
  ls_msg = "空对象引用不能赋值或传递给一个这种类型的变量" 
 case 47//47 Array expected in ANY variable 
  ls_msg = "ANY类型期待数组" 
 case 48//48 Size mismatch in array to object conversion 
  ls_msg = "将数组转换成对象时数组的大小不匹配" 
 case 49//49 Type mismatch in array to object conversion 
  ls_msg = "将数组转换成对象不匹配" 
 case 50//50 Distributed Service Error 
  ls_msg = "分布式服务错误" 
 case 51//51 Bad argument list for function/event 
  ls_msg = "函数/事件的参数列表错误" 
 case 52//52 Distributed Communications Error 
  ls_msg = "分布式通讯错误" 
 case 53//53 Requested server not active 
  ls_msg = "被请求的服务器没有激活" 
 case 54//54 Server not accepting requests 
  ls_msg = "服务器不接受请求" 
 case 55//55 Request terminated abnormally 
  ls_msg = "请求意外中断" 
 case 56//56 Response to request incomplete 
  ls_msg = "响应请求不完整" 
 case 57//57 Not connected 
  ls_msg = "没有连接" 
 case 58//58 Object instance does not exist 
  ls_msg = "对象实例不存在" 
 case 59//59 Invalid column range 
  ls_msg = "无效的列的范围" 
 case 60//60 Invalid row range 
  ls_msg = "无效的行的范围" 
 case 61//61 Invalid conversion of number dimensional array to object 
  ls_msg = "转换多维数组到一个对象无效" 
 case 62//62 Server busy 
  ls_msg = "服务器忙" 
 case 63//63 Function/event with no return value used in expression 
  ls_msg = "在表达式中函数/事件没有返回值" 
 case 64//64 Object array expected in left side of assignment 
  ls_msg = "赋值语句左边期待对象数组" 
 case 65//65 Dynamic function not found. Possible causes include: pass by value/reference mismatch 
  ls_msg = "动态函数没有找到,可能是因为:值传递/引用传递不匹配" 
 case 66//66 Invalid subscript for array index operation 
  ls_msg = "属组索引使用了非法的下标" 
 case 67//67 NULL object reference cannot be assigned or passed to an autoinstantiate 
  ls_msg = "空的对象引用不能赋值或传递给一个自动实例化对象" 
 case 68//68 NULL object reference cannot be passed to external DLL function name 
  ls_msg = "空的对象引用不能传递给外部动态链接库函数" 
 case 69//69 Function name cannot be called from a secured runtime session 
  ls_msg = "安全模式中不能调用该函数" 
 case 70//70 External DLL function name cannot be called from a secured runtime session 
  ls_msg = "安全模式中不能调用外部动态链接库函数" 
 case 71//71 General protection fault occurred 
  ls_msg = "发生一般的保护错误" 
 case 72//72 name failed with an operating system error code of number 
  ls_msg = "字段发生一个操作系统错误" 
 case 73//73 Reference parameters cannot be passed to an asynchronous shared/remote object method 
  ls_msg = "引用型参数不能传递给一个异步的共享/远程对象方法" 
 case 74//74 Reference parameters cannot be passed to a shared object method 
  ls_msg = "引用型参数不能传递给一个共享对象的方法" 
 case 75//75 The server has forced the client to disconnect 
  ls_msg = "服务器已经强制客户端断开连接" 
 case 76//76 Passing NULL as a parameter to external function name 
  ls_msg = "给外部函数传递了一个空值参数" 
 case 77//77 Object passed to shared/remote object method is not a nonvisual user object 
  ls_msg = "对象传递给共享/远程对象的方法不是一个不可视的用户对象" 
 case 78//78 Listen can only be done in Enterprise version of PowerBuilder 
  ls_msg = "监听只能在企业版的PowerBuilder中使用" 
 case 79//79 The argument to name must be an array 
  ls_msg = "参数必须是一个数组" 
 case 80//80 The server has timed out the client connection 
  ls_msg = "客户端尝试连接的时间已经超出服务器设置的限制时间" 
 case 81//81 Function argument file creator must be a four character string 
  ls_msg = "函数参数文件创建者必须是一个四个字符的字符串" 
 case 82//82 Function argument file type must be a four character string 
  ls_msg = "函数参数文件类型必须是一个四个字符的字符串" 
 case 83//83 Attempt to invoke a function or event that is not accessible 
  ls_msg = "试图调用一个不可存取的函数或事件" 
 case 84//84 Wrong number of arguments passed to function/event call 
  ls_msg = "在函数/事件中传递的参数个数错误" 
 case 85//85 Error in reference argument passed in function/event call 
  ls_msg = "在函数/事件中传递的引用型参数错误" 
 case 86//86 Ambiguous function/event reference 
  ls_msg = "引用不明确的函数/事件" 
 case 87//87 The connection to the server has been lost 
  ls_msg = "与服务器的连接已经丢失" 
 case 88//88 Cannot ask for ClassDefinition Information on open painter: name 
  ls_msg = "不能在打开的画笔中查询类定义信息" 
 case 85//89 5.0 style proxy objects are not supported. Copy the new style proxy that was generated at migration time 
  ls_msg = "5.0中的类型代理对象不支持,拷贝移植时产生的新的类型代理" 
 case 90//90 Cannot assign array of type name to variable of type array of name 
  ls_msg = "这两种数据类型的数组不能赋值"
 case 91//91 Cannot convert any in Any variable to string.Possible cause uninitialized value.
  ls_msg = "不能将任意型变量转变成字符型变量"
 case else
  ls_msg = '未知错误, 请记录错误号并与管理员联系'
end choose
 
分享到:
评论

相关推荐

    PB的error_number列表

    ### PB的error_number列表知识点详解 #### 一、概述 在PowerBuilder(PB)开发过程中,遇到各种各样的错误是在所难免的。为了便于开发者快速定位问题并进行调试,PB提供了一套完整的错误代码列表。这些错误代码不仅...

    Error Correction coding——mathematical methods and algorithms

    Error Correction Coding - Mathematical Methods and Algorithms (Source Files Contained).pdf Error Correction Coding Mathematical Methods and Algorithms Todd K. Moon Utah State University @ E ! C I E N...

    PB对文本文件进行读写.doc

    "~r~n 错误代码 : " + String(error.number) + & "~r~n 错误信息 : " + error.text + & "~r~n 窗口/菜单: " + error.windowmenu + & "~r~n 出错控件 : " + error.object + & "~r~n 出错事件 : " + error.object...

    PB中利用SetActionCode函数控制DataWindow.doc

    Long ll_currow //Current Row Number String ls_column_name //The name of the column that changed String ls_status //Current Account Status //Check if the column that changed is Balance and if the ...

    pb常用 函数--pb函数详解

    在PowerBuilder(PB)开发中,函数是构建应用程序的关键元素,它们允许开发者执行特定任务,如数据处理、逻辑控制和用户交互。以下是对PB中常用函数的详细解释和示例: 1. **字符串操作函数**: - `Left(string, ...

    PB系统函数大全.rar_pb系统函数大全_系统函数

    - `ErrorNumber()`:返回最近错误的错误号。 - `ErrorMessage(err)`:返回与错误号`err`对应的错误消息。 6. **数据类型转换函数**: - `Str(value, [len, fill])`:将`value`转换为字符串,可指定长度和填充...

    pb药监数据上传接口调用

    if HTTPReq.ErrorNumber = 0 then response = HTTPReq.Receive() // 解析并处理响应数据 else // 处理错误情况 end if ``` 步骤四:异常处理与调试 在实际调用过程中,可能会遇到网络问题、接口错误等各种异常。...

    PB计算器的源码(TXT格式的哦)

    PB计算器的源码是PowerBuilder(PB)编程语言实现的一个简单计算程序,它通常用于学习和理解PB的基础语法和逻辑控制。PowerBuilder是一款强大的第四代编程语言(4GL),主要用于开发企业级的数据库应用程序。在这个...

    pb pfc示例 pb9版

    Fix: Method returned a negative number when the calculated amount of free disk space exceeded 2 gigabytes. Added new method of_GetDiskSpaceEx that takes decimals as arguments instead of longs....

    优化03.docx pb和优化------

    3. **tostring和tonumber的精度问题**:Lua中的`tostring`转换大数可能会丢失精度,尤其是超过14位小数位时。为了防止这种情况,可以自定义转换函数或者使用更精确的数据类型。 4. **函数调用限制**:Lua对函数调用...

    S7A驱动720版本

    - Communication error messages will be now displayed in the alarm history of iFIX. This helps to detect, trace and solve communication issues. - Support for MATRIX licence key added. This key does...

    Powerbuilder MScomm.ocx实例源码 云台控制 通信

    3. **Error**:当串口出现错误时触发,可获取ErrorNumber和ErrorString信息。 在云台控制的应用场景中,通常需要发送特定指令给云台设备,例如PTZ(Pan/Tilt/Zoom)控制命令。这些命令可能包含方向、速度和定位等...

    音乐播放器

    ui->lcdNumber->display(text); } void Widget::play(int i) { QString ptr; ptr.append(pathName); ptr.append(musicList.at(i).toLocal8Bit().constData()); mediaObject->setCurrentSource(ptr); ui->...

    编译原理实验报告(一)词法分析程序.doc

    - `pb[36][5]`: 预先定义的运算符表 3. **主要子函数**: - `number(char s[], int i)`: 处理数字的函数 - `letter(char s[], int i)`: 处理字母的函数 - `operation(char s[], int i)`: 处理运算符的函数 - `...

    数据库课程设计代码 实现将一个单链升序和一个单链降序合并为单链升序的算法

    printf("input error\n"); printf("please input again\n"); system("pause"); system("cls"); Menu(); } } ``` 这个函数负责显示菜单选项并接收用户的输入,根据用户的选择调用相应的函数执行操作。 ### 四...

    VB编程资源大全(英文源码 数据库)

    With sample files and help, as well as ample remarks.<END><br>9 , pb_test.zip Test project illustrating high performance Data Access for SQL Server using ADO command objects and Stored Procedures ...

    STO配置[汇编].pdf

    该价格似乎是 PO 的 actual price,是 PB00 和一些海关运输费用之和再减一些折扣什么的,而不是 PB00。为了避免老是更改消息,可以采用 PO 审批,价格一旦更改到一比例必须重新审批。 SAP MM 模块中的 PO 配置非常...

    PowerBuilder程序开发规范

    - **图形按钮(picturebutton)**:以`pb_`作为前缀,如`pb_search`表示搜索按钮。 - **复选框(checkbox)**:采用`cbx_`前缀,如`cbx_terms_accepted`表示是否接受条款的复选框。 - **单选框(radiobox)**:使用`...

Global site tag (gtag.js) - Google Analytics