VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   5115
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   7710
   BeginProperty Font 
      Name            =   "Times New Roman CYR"
      Size            =   18
      Charset         =   204
      Weight          =   700
      Underline       =   0   'False
      Italic          =   0   'False
      Strikethrough   =   0   'False
   EndProperty
   LinkTopic       =   "Form1"
   ScaleHeight     =   5115
   ScaleWidth      =   7710
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton Command4 
      Caption         =   "Mid"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   13.5
         Charset         =   204
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   1800
      TabIndex        =   3
      Top             =   4440
      Width           =   1095
   End
   Begin VB.CommandButton Command3 
      Caption         =   "Left"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   13.5
         Charset         =   204
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   3120
      TabIndex        =   2
      Top             =   4440
      Width           =   1215
   End
   Begin VB.CommandButton Command2 
      Caption         =   "Right"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   13.5
         Charset         =   204
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   4680
      TabIndex        =   1
      Top             =   4440
      Width           =   1215
   End
   Begin VB.CommandButton Command1 
      Caption         =   "Len"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   13.5
         Charset         =   204
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   6240
      TabIndex        =   0
      Top             =   4440
      Width           =   1215
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub Command1_Click()

Dim a, b, c As String, i, l, m As Integer

Form1.Cls
'Form1.FontSize = 28
a = "Информатика "

Form1.FontSize = 18

b = "в 10 классе"
c = a + b
Print "с="; c



End Sub

Private Sub Command2_Click()
Form1.Cls
Form1.FontSize = 28
Print "a="; a
Form1.FontSize = 18
c = Right(a, 6)
номер

Print "Right(a, 6)="; c

End Sub

Private Sub Command3_Click()
Form1.Cls
Form1.FontSize = 28
Print "a="; a
Form1.FontSize = 18
d = Left(a, 5)
номер

Print "Left(a, 5) = "; d

End Sub

Private Sub Command4_Click()
Form1.Cls
Form1.FontSize = 28
Print "a="; a

m = Mid(a, 3, 5)
Form1.FontSize = 18
номер
Print "Mid(a, 3, 5) = "; m

End Sub

Private Sub Form_Click()
End
End Sub

Private Sub Form_Load()
a = "Информатика"
b = ""
c = ""
d = ""
m = ""
l = 0
Print a
End Sub
Private Sub номер()
Print Spc(5);
'For i = 1 To Len(a)
Print "1  2  3 4 5  6  7 8 9 10 11"
'Next
Print
End Sub

