Microsoft KB Archive/45748

Dimensioning Array Variables in Word for Windows

PSS ID Number: Q45748 Article last modified on 04-22-1993

1.00 1.10 1.10a 2.00 2.00a 2.00a-CD 2.00b 2.00c WINDOWS

Summary: In Microsoft Word for Windows versions 1.0, 1.1, and 1.10a, array variables are listed from zero to xx. If you dimension the array variable, you assign it to the number of the last array variable, which is one less than the total number of array variables because arrays start counting elements at zero. The following example illustrates this: Dim A$(2) A$ (0)=“excel” A$(1)="windows/286"  A$ (2)=“windows/386”

Reference(s): “Microsoft Word for Windows and OS/2 Technical Reference,” pages 36-37

Additional reference words: w4wother w4wmacro 1.00 1.10 1.10a 2.00 2.00a 2.00a-CD 2.00b 2.00c Copyright Microsoft Corporation 1993.