module2.bas

来自「测绘仪器的模拟器」· BAS 代码 · 共 21 行

BAS
21
字号
Attribute VB_Name = "Module2"
Public Function PointSurvey(ByVal x As Single, ByVal y As Single, ByVal z As Single, ByVal h As Single, ByVal i As Single, ByVal m As Integer)
If m Mod 4 = 0 Then
                     n = 3610.93
                     E = 76.474
                     z = 56.208
ElseIf m Mod 4 = 1 Then
                     n = 3223.019
                     E = 3955.484
                     z = 78.266
ElseIf m Mod 4 = 2 Then
                     n = 33.818
                     E = 3669.35
                     z = 48.736
ElseIf m Mod 4 = 3 Then
                     n = 19.366
                     E = 45.016
                     z = 12.368
End If
End Function

⌨️ 快捷键说明

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