Test code (Code copied from Array.InsertAt example:
Code: Select all
x := ["C"]
x.InsertAt(1, , "B") ; => [ , "B", "C"]
MsgBox(" First element is " x[1] " and second element is " x[2])
After reviewing this page (first and second Lexikos posts on that page) I tried this:
Code: Select all
x := ["C"]
x.InsertAt(1, "" , "B") ; => [ , "B", "C"]
MsgBox(" First element is " x[1] " and second element is " x[2], "Workaround")