Array size function


The size integer array function is as follows:

size ()

Returns the number of entries in the array as an integer.

Parameters:

This function has no parameters.

Returns:

The number of elements in the array.

Example:

array.add("zero")
array.add("two")
array.add("three")
count = array.size()
// count is 3



Related topic

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Console Management for zEnterprise, BMC AMI Console Automation for zEnterprise, and BMC AMI SecureHMC 4.0