BUG: Wrong Column Jumped to for Macro Syntax ErrorLast reviewed: May 28, 1997Article ID: Q168081 |
The information in this article applies to:
SYMPTOMSWhen you attempt to load a macro that contains a syntax error in Developer Studio, an error message similar to the following appears:
c:\program files\devstudio\sharedide\macros\mymacro.dsm This macro file contained the following error and will be unloaded Line 6: Expected ')' if (ActiveDocument.selection.FindText"CWnd") then Would you like to edit the file?If you choose to edit the file, the cursor is not placed in the column where the error occurred. However, the cursor is placed on the correct row.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Behavior
if (ActiveDocument.selection.FindText "CWnd") then msgbox "Found!" end if The finder() subroutine should look like this: Sub finder() 'DESCRIPTION: A description was not provided. if (ActiveDocument.selection.FindText "CWnd") then msgbox "Found!" end if 'TODO: Put macro code here End Sub |
Keywords : vcbuglist500 VSDSAuto kbbuglist
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |