[二级VB试题天天练]VB考试试题1

发布时间:2019-02-04 19:05:12

今天的题目是在不启动Visual Basic的情况下,写出下面程序的运行结果,呵呵
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

阅读更多其他试题,请访问生活日记网 用日志记录点滴生活!考试试题频道。
喜欢考试试题,那就经常来哦

该内容由生活日记网提供.