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/22 15:29:16
PrivateSubForm_Click()x=1y=5z=2Fork=xToyStepzy=y-1NextPrinty;kEndSub最后一次为啥还能循环捏?结果为什么不是报错?PrivateSub
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