| Mirage Source http://www.miragesource.net/forums/ |
|
| Subscript out of range in Sub ClearPlayer, Server Side http://www.miragesource.net/forums/viewtopic.php?f=201&t=1866 |
Page 1 of 1 |
| Author: | Rezeyu [ Fri May 25, 2007 4:43 am ] |
| Post subject: | Subscript out of range in Sub ClearPlayer, Server Side |
Code: Sub ClearPlayer(ByVal Index As Long)
Dim i As Long Dim n As Long Player(Index).Login = vbNullString The player.login gives me a subscript out of range, when initilizing the player array. It tells me i = 1 and index = 1. Not sure what's going on. |
|
| Author: | William [ Fri May 25, 2007 9:13 am ] |
| Post subject: | |
Make sure you didnt run it with a for loop = 0. |
|
| Author: | Rezeyu [ Tue Jun 12, 2007 12:58 am ] |
| Post subject: | Re: Subscript out of range in Sub ClearPlayer, Server Side |
Hah, thanks. =D But I fixed it already, I don't recall how though. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|