You must be logged in to do that.

SetStringArray

SetStringArray
void SetStringArray(string strname, int index, string value)

Documentation

Sets the value of an index inside an string array variable. Does not work on string arrays inside structs currently.

Example Usage

string name[98];
string my_var = "name"; // my_var now points to name.
int my_index = 21; // my_index is set to 21.
SetStringArray(my_var,"Ralph"); // Sets the value of name[21] to "Ralph".
Talkback

There are no talkbacks on this documentation page yet. Post the first?

Post a new comment?

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.