publicvariat.bas

来自「POS2000打印机演示程序」· BAS 代码 · 共 18 行

BAS
18
字号
Attribute VB_Name = "PublicVariat"

Option Explicit
Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Public ival As Integer
''''''''''''''''''' to set port
Public Type typSetport
    igSelectPort As Integer
    strgSetPort As String
    igFlowControl As Single
End Type

Public Setport As typSetport
Public Const igCom1 As Integer = 1
Public Const igCom2 As Integer = 2
Public Const igParallelPort As Integer = 3

⌨️ 快捷键说明

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