Private Sub Form_Click() x = 1 y = 5 z = 2 For k = x To y Step z y = y - 1 Next Print y; k End Sub最后一次为啥还能循环捏?结果为什么不是报错?

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/06 07:44:23

Private Sub Form_Click() x = 1 y = 5 z = 2 For k = x To y Step z y = y - 1 Next Print y; k End Sub最后一次为啥还能循环捏?结果为什么不是报错?
Private Sub Form_Click() x = 1 y = 5 z = 2 For k = x To y Step z y = y - 1 Next Print y; k End Sub
最后一次为啥还能循环捏?结果为什么不是报错?

Private Sub Form_Click() x = 1 y = 5 z = 2 For k = x To y Step z y = y - 1 Next Print y; k End Sub最后一次为啥还能循环捏?结果为什么不是报错?
Private Sub Form_Click() Dim x As Integer, y As Integer, z As Integer x = 1: y = 2: z = 3 Call procl(x, y, z) End Sub Public