📄 pubfun.bas
字号:
Attribute VB_Name = "PubFun"
Option Explicit
'#########################################################################
'将用户输入的距离参数转换成vmove和hmove所需参数
Public Function GetDirFromDis(Dist As Long) As Integer
If Dist >= 0 Then
GetDirFromDis = 1
Else
GetDirFromDis = -1
End If
End Function
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -