Quiz Yourself

Q.

What is the advantage of using a string to populate an array?

A.

The advantage of using a string to populate an array is that strings are available from many places (such as Excel). In addition, since an array resides in memory, it is quicker than making multiple trips to read in the string.

Q.

What is required to resize a dynamic array?

A.

To resize a dynamic array, you must use the ReDim command. This will allow you to change the size of the array and permit the addition of elements in the array. Note that if you do not include the Preserve option, when you ReDim your array, you will lose all existing data.

Q.

The dictionary allows you to configure which property?

A.

The dictionary allows you to configure the compare mode property.

Q.

Get Microsoft® Windows® Scripting Self-Paced Learning Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.