[二级VB试题天天练]VB考试试题1
分类: 计算机
时间: 2022-08-27 15:27:42
作者: 全国等级考试资料网
今天的题目是在不启动Visual Basic的情况下,写出下面程序的运行结果,呵呵
Option Explicit
Option Explicit
Private Sub Command1_Click()
Dim strA As String
Dim strB As String
Dim intL As Integer
Dim i As Integer
strA = "*****************"
intL = Len(strA)
For i = 1 To intL
strB = Mid(strA, i, i)
Print strB
Next
End Sub