
-----------------------------------
HazySmoke)345
Sat Dec 24, 2005 4:28 pm

I don't see what's wrong with this line...
-----------------------------------
Private Sub Form_Load()
    First
End Sub

Sub First()
    Second (1,1)
End Sub

Sub Second(x As Integer, y As Integer)
    If x  1 Then Exit Sub
    If y  1 Then Exit Sub
    Msgbox "Thanks, guys, this program now works!"
End Sub

Right. That's the program. While I'm writing the script, the line "Second (1,1)" is highlighted in red. It said that "=" is expected. I don't see how :roll:. So I ran the program anyways, and, again, the program wouldn't run because of that same line, but this time, it says "syntax error". I don't really see what's wrong with it :x, it looks... fine.

-----------------------------------
cool dude
Sat Dec 24, 2005 6:05 pm


-----------------------------------
i'm not sure exactly wat u want your program to do but to make the program run and stop the syntax error all u have to do is instead of saying Second (1,1) u have to say call Second (1,1)

-----------------------------------
diqua
Fri Jan 13, 2006 2:28 pm


-----------------------------------
take the brackets out ( and  )
