Re: void parameter argument



Dan wrote:
Is it just me, or is the removal of support for the word "void" in a
parameter list extremely annoying?  Some of us have been programming for
years putting "void function_name (void)" - and it really doesn't feel nice
having to miss it out.  Is there any reason for them removing this?  I don't
suppose there's a pragma or something to stop the compiler barking about it
is there?

But you have to type less, so what's the big deal? ;). Just get used to () means (nothing) or (void) or (nada) and you're done :)


		FB

--
------------------------------------------------------------------------
Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
.