问题 填空题

在窗体上画1个文本框,名称为Text1,然后编写如下程序:
Private Sub Form_Load()
  Open"d:\temp\dat.txt"For Output As #1
  Text1.Text=""
End Sub
Private Sub Text1_KeyPress(Key Ascii As Integer)
If (10) =13 Then
   If U Case(Text1.Text)= (11) Then
    Close 1
    End
   Else
    Write #1, (12)
    Text1.Text=""
   End If
  End If
End Sub
以上程序的功能是,在D盘temp目录下建立1个名为dat.txt的文件,在文本框中输入字符,每次按回车键(回车符的ASCII码是13)都把当前文本框中的内容写入文件dat.txt,并清除文本框中的内容;如果输入“END”,则结束程序。请填空。

答案

参考答案:KeyAscii

单项选择题
单项选择题

I first went to hear a live rock concert when I was eight years old. My brother and his friends were all fans of a heavy metal group called Black Wednesday. When they discovered that Black Wednesday were going to perform at our local theatre, they all bought (21) for the performance. However, at the last minute, once of the friends couldn’t go, so my brother offered me the ticket. I was really excited!

I remember the buzz (嘈杂声) of excitement inside the theatre as we all found our seats. After a few minutes, the lights went down and everybody became quiet. I could barely make out the stage in the (22) . We waited. Then there was a roar from the crowd, like an explosion, as the first members of the band stepped onto the stage. My brother leaned over and shouted something in my ear, but I couldn’t hear what he was saying. The first song was already starting and the music was as (23) as a jet engine. I could (24) the drum beats and bass notes in my stomach.

I can’t recall any of the songs that the band played. I just (25) that I really enjoyed the show and didn’t want it to (26) . But in the end, after three encores (加演), the show finished. We left the (27) and walked unsteadily out onto the pavement. I felt a little dizzy, as if I had just woken from a long sleep. My ears were still (28) with the beat of the last song.

After the (29) , I became a Black Wednesday fan too for a few years before getting into other kinds of music. Once in a while, though, I listen to one of their songs and (30) I’m back at that first show.

29()

A.competition 

B.performance 

C.interview 

D.celebration