Difference between "const text[]" and "text[]"?
#1

Hi,
I have a little doubt between two things:
pawn Код:
stock MyFunc(playerid, const msg[]) //This one

stock MyFunc(playerid, msg[]) //And this
What's exatly the difference?
I know that const is for constant variables, that doesn't change their values.
So, what's its point there, in a stock?

Thank you!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)