Chapter 4. Working with Arrays

Before You Begin

To work through the material presented in this chapter, you need to be familiar with the following concepts from earlier chapters:

  • The For Each command

  • The Do Until command

  • The For...Next command

After completing this chapter, you will be able to:

  • Use command-line arguments to control code execution at run time

  • Use a text file in place of arguments to run a program against multiple machines

  • Create a useful error message when arguments are missing

  • Use named arguments to control the way multiple arguments are processed

  • Create an array to supply multiple values to a single variable

Passing Arguments

Passing arguments might sound like a technique to help people get along, but in reality it’s a way to get additional ...

Get Microsoft® VBScript Step by Step 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.