VERSION 5.00
Begin VB.Form frm1 
   BackColor       =   &H00FFFFFF&
   Caption         =   "Логические операции"
   ClientHeight    =   1788
   ClientLeft      =   4140
   ClientTop       =   3456
   ClientWidth     =   2532
   BeginProperty Font 
      Name            =   "Times New Roman"
      Size            =   12
      Charset         =   204
      Weight          =   400
      Underline       =   0   'False
      Italic          =   0   'False
      Strikethrough   =   0   'False
   EndProperty
   LinkTopic       =   "Form1"
   ScaleHeight     =   1788
   ScaleWidth      =   2532
   Begin VB.CommandButton cmd1 
      BackColor       =   &H00FFFFFF&
      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          =   492
      Left            =   480
      TabIndex        =   0
      Top             =   1200
      Width           =   1572
   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
Sub cmd1_Click()
For intA = 0 To -1 Step -1
For intB = 0 To -1 Step -1
frm1.Print -intA; -intB; -(intA And intB); -(intA Or intB); -(intA Xor intB); -(intA Eqv intB)
Next intB
Next intA
End Sub

