|
Hi,
I’m trying to create an empty array which I will get populated later on in my script but having some problems with the syntax.
My current attempt looks like this:
var arr = new array() ;
var vbArr = new VBArray( arr );
But xsi cries when I execute this, the docs dont seem to show any examples of creating an empty array.
Can anyone be kind enough to write an example of how you create an empty array.
Thanks in advance
Dan
|
|
|
|
var my_array = new Array();
var my_array = new Array([I]size[/I]);
var my_array = new Array([I]elem1, elem2, elem3,[/I] ... );
This has more to do with pure JScript than XSI. A good reference for questions like this is the Microsoft documentation:
http://www.microsoft.com/downloa...4099D7BBB9&displaylang=en
|
|
|
|
posted in the wrong forum.
Moving this for you, but next time please take care of posting in the right subforum :)
|
|
|