form2.frm
来自「计算方法的VB程序」· FRM 代码 · 共 31 行
FRM
31 行
VERSION 5.00
Begin VB.Form Form2
Caption = "Form2"
ClientHeight = 6915
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
LinkTopic = "Form2"
ScaleHeight = 6915
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Activate()
Print "计算所耗时间为: "; tm; "秒"
Print
Print "迭代次数为:"; k - 1
Print "迭代向量为:"
For i = 1 To k - 1
Print i; ". "; s(i)
Next i
Print
Print "最终迭代结果为:"; s(k - 1)
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?