Announcement

Collapse
No announcement yet.

Array

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Array

    I can add values to an array and delete values from an array, but how can I tell the length of the array? In VB it's Ubound.

    Thanks for any help.

    Traveller

  • #2
    Traveller:

    Try Array.length.

    Ex:

    var MyArray = New Array();

    main() {



    for (x=0; x<50; x++) {
    MyArray[x] = 0.0;
    }

    nLength = MyArray.length;

    }


    Chris

    Comment


    • #3
      Thank you Chris

      Did not found this in the documentation.

      Traveller

      Comment

      Working...
      X