Posted: Mon Mar 29, 2004 7:29 pm Post subject: Connect 4 and the internet
This is the internet version of my connect 4 game, but it gets an error "variable has no value" on line 214, after you have tried to establish a connection. The only variable on this line is " choice " and it already has a value that has not been erased because it is what you use to decide between hosting or joining a server. Would someone please explain the problem here to me?
Posted: Mon Mar 29, 2004 8:33 pm Post subject: (No subject)
try getting rid of the
inside the startup procedure. When you declare variables in procedures, they are local and can't be used after the procedure is finished, they are destroyed. So choice may acutally be destroyed, and you already declared choice in the main program.