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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.