Help about warning script:implode

Petey Pablo

New member
Messages
224
Points
0
Emulator
What error is this? I dont know what script is this please anyone can help me fix. Thank you

Code:
[Warning]: script:implode: array length = 0
 
It means you are trying to concatenate the elements of an array into a string but the array is empty. You must make sure the array is non-empty before imploding it:

Code:
if (getarraysize(.@myArray$)) {
	.@string$ = implode(.@myArray$);
}
 
Back
Top