Procedure

The most basic kind of black box programmers use to achieve modularity is the procedure. A procedure is a set of code that ideally performs a single function. I have used many procedures in previous posts. Some procedures require input, some don't. Some of these procedures return a value, some don't. But all of the procedures I mentioned in other posts (MsgBox ( ), InputBox ( ),, etc.) are black boxes. They perform one single well defined function, and they perform it without your having to worry about how they perform their respective functions.

Let's move forward to learn how to extend the VBScript language by writing our own procedure.

First
Next