Chapter 3 DynaScript Predefined Objects
The Array
object
has this property:
Array.length
Returns a value one higher than the highest element in the array.
Integer.
<!--SCRIPT
myArray = new Array();
myArray[0] = "carrots";
myArray[1] = "corn";
myArray[6] = "green beans";
document.WriteLn( myArray.length );
-->
Copyright © 1999 Sybase, Inc. All rights reserved. |
![]() |