Chapter 9

image

VBA Programming

image

9.1 Introduction

In this chapter selected features of programming in Visual Basic for Applications (VBA) are presented. Also introduced are design environment for event-driven simulation (DEEDS) procedures for classes of network nodes and transactions as well as for statistical variables and tables. Sample code demonstrates how these features are applied to simulation modeling.

9.2 Names

The following four rules apply for names of procedures, constants, and variables:

1. The first character must be a letter.

2. The ...

Get Performance Evaluation of Industrial Systems, 2nd Edition 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.