[填空题] 运行下列程序,单击Command1,在窗体上显示的第一行内容是(),第二行的内容是(),第三行的内容是()("A"的ASCII码是65,"z"是90
14 查阅
[填空题] 运行下列程序,单击Command1,在窗体上显示的第一行内容是(),第二行的内容是(),第三行的内容是()("A"的ASCII码是65,"z"是90)Option ExplicitPrivate Sub Commandl_Click()Dim i As Integer,st As String,n As Integer,p As String*1P="B"For i=3 To 1 Step -1 n=Asc(p)-i If n<65 Then n=n+26 st=Chr(n) st=st & F(i) Print stNext i EndSubPrivate Function F(n As Integer) Dim i As Integer Static S As Integer For i=1 To ns=s+i Nexti F=SEnd Function
参考答案: