VERSION 5.00
Begin VB.Form frm1 
   BackColor       =   &H00FFFFFF&
   Caption         =   "Переменные"
   ClientHeight    =   2016
   ClientLeft      =   3204
   ClientTop       =   3456
   ClientWidth     =   5640
   BeginProperty Font 
      Name            =   "MS Sans Serif"
      Size            =   12
      Charset         =   204
      Weight          =   400
      Underline       =   0   'False
      Italic          =   0   'False
      Strikethrough   =   0   'False
   EndProperty
   LinkTopic       =   "Form1"
   ScaleHeight     =   2016
   ScaleWidth      =   5640
   Begin VB.CommandButton cmd3 
      Caption         =   "Логика"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   7.8
         Charset         =   204
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   612
      Left            =   3960
      TabIndex        =   2
      Top             =   1080
      Width           =   1212
   End
   Begin VB.CommandButton cmd2 
      Caption         =   "Конкатенация"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   7.8
         Charset         =   204
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   612
      Left            =   2160
      TabIndex        =   1
      Top             =   1080
      Width           =   1212
   End
   Begin VB.CommandButton cmd1 
      Caption         =   "Вычислить"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   7.8
         Charset         =   204
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   612
      Left            =   360
      TabIndex        =   0
      Top             =   1080
      Width           =   1212
   End
End
Attribute VB_Name = "frm1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim intA, intB As Integer, bytC As Byte, sngD As Single, dblE As Double
Dim strA, strB As String
Dim blnA, blnB, blnC As Boolean
Sub cmd1_Click()
intA = 2
intB = 3
bytC = intA / intB
sngD = intA / intB
dblE = intA / intB
frm1.Print bytC, sngD, dblE
End Sub
Sub cmd2_Click()
strA = "форма"
strB = "ин" + strA + "тика"
frm1.Print strB
End Sub
Sub cmd3_Click()
blnA = 5 > 3
blnB = 2 * 2 = 5
blnC = blnA And blnB
frm1.Print blnC
End Sub
