error 008: must be a constant expression; assumed zero
#2

You can not initiliaze a variable with another variable unless it's a constant and cmdtext isn't a constant variable.

Declare a size for your cmd array like this

Code:
new cmd[20];
Change the size to fit your needs.
Reply


Messages In This Thread
error 008: must be a constant expression; assumed zero - by 3417512908 - 29.07.2018, 12:29
Re: error 008: must be a constant expression; assumed zero - by Rufio - 29.07.2018, 12:33
Re: error 008: must be a constant expression; assumed zero - by 3417512908 - 29.07.2018, 12:39
Re: error 008: must be a constant expression; assumed zero - by Rufio - 29.07.2018, 12:45
Re: error 008: must be a constant expression; assumed zero - by 3417512908 - 29.07.2018, 12:50

Forum Jump:


Users browsing this thread: 2 Guest(s)