home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frm3_6_2
- Caption = "3-6-2"
- ClientHeight = 1620
- ClientLeft = 1092
- ClientTop = 1488
- ClientWidth = 2664
- 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 = 1620
- ScaleWidth = 2664
- Begin VB.PictureBox picResults
- Height = 495
- Left = 120
- ScaleHeight = 444
- ScaleWidth = 2244
- TabIndex = 1
- Top = 120
- Width = 2295
- End
- Begin VB.CommandButton cmdEvaluate
- Caption = "Evaluate Functions"
- Height = 495
- Left = 120
- TabIndex = 0
- Top = 840
- Width = 2295
- End
- Attribute VB_Name = "frm3_6_2"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub cmdEvaluate_Click()
- Dim a As Single, b As Single
- 'Evaluate functions at expressions
- picResults.Cls
- a = 2
- b = 3
- picResults.Print Sqr(5 * b + 1); Int(a ^ b); Round(a / b, 3)
- End Sub
-