How can I make a GLOBAL STRING variable in a script when activated? and is there any way to do this:
stringvar = {"","","","",""}
I don't know why this does not work.
char string[10];
char string_2[10] = "hello";
char string[] = "hello";
string[0]='H';
// string now holds Hello
strcpy(string, "Test");
// string now holds Test
// and many other string functions
char string[10];
char Name[10];
// if you want to edit a single character
Name[0] = 'A';
// you need the variable name, followed by [#] where # is replaced with a number that is less than the inputted size
// if you want to use the entire string, than you just use Name
strcpy(text, Name);
// displays the string using text
Users browsing this forum: No registered users and 1 guest