26.01.2017, 18:38
How to create a constant string?
I am trying
and I get the error: error 008: must be a constant expression; assumed zero (on the second line)
but when I try
I get the error: error 001: expected token: "=", but found "[" (on the first line)
How am I supposed to set a constant string, is it possible?
Thank you
I am trying
Код:
new const INV_OBJ_menuTitle[] = "Inventory"; new dialog_title[64] = INV_OBJ_menuTitle;
but when I try
Код:
const INV_OBJ_menuTitle[] = "Inventory"; new dialog_title[64] = INV_OBJ_menuTitle;
How am I supposed to set a constant string, is it possible?
Thank you