home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frm3_6_1
- Caption = "3-6-1"
- ClientHeight = 1608
- ClientLeft = 1092
- ClientTop = 1488
- ClientWidth = 2328
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 7.8
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- LinkTopic = "Form1"
- PaletteMode = 1 'UseZOrder
- ScaleHeight = 1608
- ScaleWidth = 2328
- Begin VB.PictureBox picResults
- Height = 495
- Left = 120
- ScaleHeight = 444
- ScaleWidth = 1884
- TabIndex = 1
- Top = 120
- Width = 1935
- End
- Begin VB.CommandButton cmdEvaluate
- Caption = "Evaluate Functions"
- Height = 495
- Left = 120
- TabIndex = 0
- Top = 840
- Width = 1935
- End
- Attribute VB_Name = "frm3_6_1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub cmdEvaluate_Click()
- Dim n As Single, root As Single
- 'Evaluate functions at a variable
- picResults.Cls
- n = 6.76
- root = Sqr(n)
- picResults.Print root; Int(n); Round(n, 1)
- End Sub
-