Using char on variables.
#9

Quote:
Originally Posted by Vince
Посмотреть сообщение
Something just came to mind. I tried using this:
pawn Код:
new testchar[5 char] = !{0, 1, 254, 105, 20};
That compiled. No errors or warnings. Unsure if it works, though. Worth a shot.
Tested that real quick by using 'testchar' in a simple printf, and I got the error:
Код:
 error 008: must be a constant expression; assumed zero
Reply


Messages In This Thread
Using 'char' array on variables. - by Activest - 03.03.2013, 19:32
Re: Using char on variables. - by Misiur - 03.03.2013, 20:02
Re: Using char on variables. - by Vince - 03.03.2013, 20:02
Re: Using char on variables. - by ReVo_ - 03.03.2013, 20:03
Re: Using char on variables. - by AndreT - 03.03.2013, 20:05
Re: Using char on variables. - by Activest - 03.03.2013, 20:27
Re: Using char on variables. - by LarzI - 03.03.2013, 20:36
Re: Using char on variables. - by Vince - 03.03.2013, 20:36
Re: Using char on variables. - by LarzI - 03.03.2013, 20:44
Re: Using char on variables. - by Activest - 03.03.2013, 20:57

Forum Jump:


Users browsing this thread: 1 Guest(s)