module1.bas

来自「omron 2d code reader」· BAS 代码 · 共 10 行

BAS
10
字号
Attribute VB_Name = "Module1"
Public Function ErrM(ByVal X As String)
      X = UCase(X)
        If X = "E000" Then A = MsgBox("2D code can't found,possily due to uneven background.Check the work piece surface and lighting condition.", vbInformation, "Information")
        If X = "E100" Then A = MsgBox("2D code cell cannot be recognized correctly. Check the marking and lighting conditions, and then perform teaching again. ", vbInformation, "Information")
        If X = "E200" Then A = MsgBox("Reading was not completed within the specified period of time. Check the work piece and lighting condition, then perform teaching again.", vbInformation, "Information")
        If A = 1 Then ErrM = 1

End Function

⌨️ 快捷键说明

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