Difference between revisions of "Microsoft KB Archive/100393"

From BetaArchive Wiki
(importing KB archive)
 
m (X010 moved page Microsoft KB Archive/Q100393 to Microsoft KB Archive/100393 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/")
 
(No difference)

Latest revision as of 19:13, 12 August 2020

Documentation Error: Array Samples Incorrect PSS ID Number: Q100393 Article last modified on 07-14-1994

2.00 2.00a 2.00a-CD 2.00b 2.00c

WINDOWS

The information in this article applies to:
- Microsoft Word for Windows, versions 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c

Summary:

The following Word for Windows resources contain a documentation error:

“Using WordBasic,” by WexTech Systems and Microsoft, pages 32 and 174

“Dim” topic in the Word for Windows Help menu.

The documentation incorrectly states that the variable name for an array, assigned using a Dim statement, and the individual array item names can be two different names. WordBasic requires that you use the same name for both the variable name and the individual array items.

More Information:

The following incorrect macro code appears on page 32 of “Using WordBasic”:

Dim Days<math display="inline">(7) Day</math>(1)=“Sunday” Day$(2)=“Monday”

The following is a correct array definition statement:

Dim Day<math display="inline">(7) Day</math>(1)=“Sunday” Day$(2)=“Monday”

The same kind of error appears on page 174 of “Using WordBasic”:

Dim Months<math display="inline">(12) Month</math>(1)=“January” Month$(2)=“February”

The following is a correct array definition statement:

Dim Month<math display="inline">(12) Month</math>(1)=“January” Month$(2)=“February”

Reference(s):

“Using WordBasic,” by WexTech Systems and Microsoft, pages 32, 174

Additional reference words: 2.00 2.00a 2.00a-CD 2.00b 2.00c docerr doc winword err online w4wmacro

=================================================================

Copyright Microsoft Corporation 1994.