Home All Groups Group Topic Archive Search About

Some error apper to me in my declerations

Author
4 Feb 2006 8:08 PM
Husam
Hi EveryBody:

I have 4 decleration for four functions:
Function Next............................
Function Skip.............................
Function Reset.............................
Function Clone...........................
Can Any body told me why I got Under line error under word Next, Also
I have 4 decleration for four Subs as follow :
Sub Next ...............
Sub Skip................
Sub Reset..............
Sub Clone..............
Also as the previous question I got Under line error under word Next ?Why ?

Also I Have the following decleration:
Sub Select()
I got Under line error under Select
Function Resume() As Integer
I got Under line error under Resume
<PreserveSig()>  _
Function Do(<[In](), MarshalAs(UnmanagedType.Interface)> undoManager As
IOleUndoManager) As<MarshalAs(UnmanagedType.I4)> Integer
Also I got Under line error under Do
Also I have Implement statment as follow:
Implements IOleUndoUnit
also I got under line error under implements word ?

Any body can told me how can I handel all these error where they are defined
inside class ?

Any help or redirection will be appreciated

regard's

Husam

Author
4 Feb 2006 8:59 PM
Armin Zingler
"Husam" <Hu***@discussions.microsoft.com> schrieb
> Hi EveryBody:
>
> I have 4 decleration for four functions:
> Function Next............................
> Function Skip.............................
> Function Reset.............................
> Function Clone...........................
> Can Any body told me why I got Under line error under word Next,

Do you remember
    For
    Next
? ;-)

Next is a reserved word. Use

    function [Next]

instead. Same with Select, Do, Resume etc. Put them in square brackets.

Armin