int CopyArray(string source, string dest)
Copies data from one global int/string array to another, if they're of compatible size and type.
Returns 1 on success, 0 on failure.
string foo[2];
string bar[2];
void autoexec() {
foo[0] = "taco";
foo[1] = "burrito";
bar[0] = "carrot";
bar[1] = "celery";
CopyArray("foo", "bar"); //bar[0] is now "taco"
MessageBox( bar[0] );
}There are no talkbacks on this documentation page yet. Post the first?
Doc Nav |
![]() |
Your docs |
![]() |