Home All Groups Group Topic Archive Search About

Microsoft bypasses syntax error in Upgrade Your Game Tutorials

Author
18 Jun 2006 5:19 AM
Michael
I first started studying VB.NET with the Upgrade Your Game tutorials and I
found certain, I guess arrays, that don't show up as syntax errors when you
first load the template, but if you try to type this code for yourself you
will get the syntax error.

The code include variables in this area:

Private _bases As Base() = New Base(3)()

In "NewBase(3)()" the "()" is where you get the syntax error if you simply
delete one of the parenthesis  and retype it.

I would love to know how to make syntax errors new usable code like
Microsoft did. in this crap!

Author
18 Jun 2006 6:49 AM
Cor Ligthert [MVP]
Michael,

To whom are asking this question?

On some places the documentation is not correct, if you find it have the
level of a bug than you can tell that in this place.

http://connect.microsoft.com/site/sitehome.aspx?SiteID=210

Cor

Show quoteHide quote
"Michael" <Mich***@discussions.microsoft.com> schreef in bericht
news:A602A102-1864-4D6C-A702-907F5B506F60@microsoft.com...
>I first started studying VB.NET with the Upgrade Your Game tutorials and I
> found certain, I guess arrays, that don't show up as syntax errors when
> you
> first load the template, but if you try to type this code for yourself you
> will get the syntax error.
>
> The code include variables in this area:
>
> Private _bases As Base() = New Base(3)()
>
> In "NewBase(3)()" the "()" is where you get the syntax error if you simply
> delete one of the parenthesis  and retype it.
>
> I would love to know how to make syntax errors new usable code like
> Microsoft did. in this crap!