Documentation Error: WordBasic ViewNormal and ViewOutlineLast reviewed: July 30, 1997Article ID: Q81438 |
The information in this article applies to:
SUMMARYThere is a documentation error on page 329 of the "Using WordBasic" 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 "-1" if the view is active and "0" (zero) if the view is not selected. The following syntax demonstrates the function form of these commands.
n=ViewNormal() n=ViewOutline() MORE INFORMATIONThe 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 "The Normal View is Active " If n = 0 Then Print "The Normal View is not Active" End Sub "Using WordBasic"On page 329 of the "Using WordBasic" 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 MenuTo access the Help menu screens that contain this documentation error, use the following steps:
REFERENCES"Using WordBasic," by WexTech Systems and Microsoft, page 329
|
KBCategory: kbmacro
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |