VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "VB6 例10-10 阿基米德螺线"
   ClientHeight    =   2400
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   3900
   LinkTopic       =   "Form1"
   ScaleHeight     =   2400
   ScaleWidth      =   3900
   StartUpPosition =   3  '窗口缺省
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Click()
    Dim x As Single, y As Single, I As Single
    Scale (-15, 15)-(15, -15)
    Line (0, 14)-(0, -14)
    Line (14.5, 0)-(-14.5, 0)
    For I = 0 To 12 Step 0.01
        y = I * Sin(I)                          ' 阿基米德螺线参数方程
        x = I * Cos(I)                          ' 阿基米德螺线参数方程
        PSet (x, y)
    Next I
End Sub

