VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   3210
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4980
   LinkTopic       =   "Form1"
   ScaleHeight     =   3210
   ScaleWidth      =   4980
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton Command1 
      Caption         =   "Command1"
      Height          =   735
      Left            =   3360
      TabIndex        =   0
      Top             =   2280
      Width           =   1455
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False


Private Sub Command1_Click()
Dim strA(1 To 33) As String
Open "Alpha.txt" For Input As #1
For I = 1 To 33
Input #1, strA(I)
Form1.Print strA(I);
Next
Close #1
strB = InputBox("Введите букву", "Поиск")
For I = 1 To 33
If strB = strA(I) Then N = I
Next
Form1.Print
Form1.Print "Номер искомого элемента"; strB; N
End Sub
