Copy link to clipboard
Copied
I recently updated my Premiere pro version to the current 2020. I've noticed that arrays no longer appear to be supported in the scripting engine. for instance
ml = []
alert(ml)
breaks the entire script. what happened? is there an alertanative that I can use instead of arrays? how do i move around my data?
the error i get
"
"
I believe with New World scripting the types are more strict. Can you do alert( ml.toString() )?
Arrays work great in New World.
What you're running into is that New World does not provide support for implicit type coercion to String, which is what alert(ml) relies upon.
Copy link to clipboard
Copied
this problem occurs in my visul-studio debug env, and also breaks my old custom plugins that feature arrays. please help!
Copy link to clipboard
Copied
Arrays work great in New World.
What you're running into is that New World does not provide support for implicit type coercion to String, which is what alert(ml) relies upon.
Copy link to clipboard
Copied
I believe with New World scripting the types are more strict. Can you do alert( ml.toString() )?
Copy link to clipboard
Copied
thanks Eli, I just tried that and it works.