Compiling Error
#12

This may sound confusing, I tried deleting "new string[360];" then the compiling errors stopped. An explanation would be great. Probably variables are not allowed to be created inside a \'switch\' statement?



EDIT: Yup, variables are not allowed to be created inside a \'switch\' statement. Tried moving the variable outside/before the \'switch\' statement, and it worked. +rep for you guys
Reply


Messages In This Thread
Compiling Error - by NealPeteros - 27.04.2017, 03:45
Re: Compiling Error - by Kane - 27.04.2017, 03:55
Re: Compiling Error - by NealPeteros - 27.04.2017, 04:08
Re: Compiling Error - by Hansrutger - 27.04.2017, 04:10
Re: Compiling Error - by NealPeteros - 27.04.2017, 04:12
Re: Compiling Error - by Kane - 27.04.2017, 04:19
Re: Compiling Error - by NealPeteros - 27.04.2017, 04:24
Re: Compiling Error - by Hansrutger - 27.04.2017, 04:25
Re: Compiling Error - by NealPeteros - 27.04.2017, 04:29
Re: Compiling Error - by Hansrutger - 27.04.2017, 04:34
Re: Compiling Error - by NealPeteros - 27.04.2017, 04:54
Re: Compiling Error - by NealPeteros - 27.04.2017, 05:00

Forum Jump:


Users browsing this thread: 1 Guest(s)