Microsoft KB Archive/45748

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

The information in this article applies to:
- Microsoft Word for Windows versions 1.0, 1.1, 1.1a, 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c - Microsoft Windows operating system version 3.0 and 3.1

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<math display="inline">(2) A</math>(0)=“excel” A<math display="inline">(1)="windows/286" A</math>(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.