Hi novelle.vague ( Maestro Bailo ),
You asked if nullTest() could call this:
nullTest( int i ) { return i ++ ; }
If it's like C++, the answer is no.
nullTest() with no parameters would give a compile-time error.
But, if " i " is a global, for example,
you could overload nullTest() like this:
nullTest() { return i ++ ; }
nullTest( int J ) { return i = ++ J ; }
Re: Your: nullTest( null ),
NULL is a macro in C++, it's defined as 0 ( Zero ).
Did you mean: nullTest( void ) ?
You asked: <<
3) What if the web service is passing in
a series of records where some
of the data for that parameter is null ?
How should a null be passed to the web service ? >>
Create overloaded functions ?
Re:
http://kentpsychedelic.blogspot.com ,
Your blog really rocks. You're a genius Bailo.
But my FireFox .9 was caching it...
I wasn't seeing the latest version.
( I think I've fixed that now )
Did you have a stroke ?