20 likes | 193 Views
Private Sub Form_Click() Dim x As Single, y As Single Form1.Print -61; -34 Form1.Print 9 * 2; 12 Form1.Print "This is"; "a book" x = 3: y = 4 Print "x="; x, "y="; y End Sub. 输出语句格式:. [ 对象 ]. Print [ 表达式列表 ][{ ; | , }].
E N D
Private Sub Form_Click() Dim x As Single, y As Single Form1.Print -61; -34 Form1.Print 9 * 2; 12 Form1.Print "This is"; "a book" x = 3: y = 4 Print "x="; x, "y="; y End Sub
输出语句格式: [对象].Print [表达式列表][{;|,}]