Microsoft KB Archive/81438

-

{| The information in this article applies to:
 * width="100%"|
 * Microsoft Word for Windows versions 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c

SUMMARY
There is a documentation error on page 329 of the &quot;Using WordBasic&quot; book and in Microsoft Word for Windows version 2.0 Help. This documentation error concerns the value returned by the function form of the following WordBasic commands:

ViewNormal ViewOutline The function form of these commands should return &quot;-1&quot; if the view is active and &quot;0&quot; (zero) if the view is not selected. The following syntax demonstrates the function form of these commands. n=ViewNormal n=ViewOutline

MORE INFORMATION
The following macro demonstrates use of the function form for the ViewNormal and ViewOutline macro commands. This macro prints a message to the status bar that indicates whether or not Normal is chosen on the View menu.

Sub MAIN n = ViewNormal If n = - 1 Then Print &quot;The Normal View is Active &quot; If n = 0 Then Print &quot;The Normal View is not Active&quot; End Sub

&quot;Using WordBasic&quot;
On page 329 of the &quot;Using WordBasic&quot; book, the Remarks paragraphs in the ViewNormal and ViewOutline sections should read as follows:

Value       Explanation -       ---

0         If normal/outline view is off -1         If normal/outline view is on

Help Menu
To access the Help menu screens that contain this documentation error, use the following steps:


 * 1) From the Help menu, choose Help Index.
 * 2) Select the WordBasic Programming Language jump text.
 * 3) From the WordBasic Programming Language window, select the ViewNormal and ViewOutline jump text.