Why "Overload Function" in Module gives Error message?

  • Thread starter Thread starter V.K.S.B.K
  • Start date Start date
V

V.K.S.B.K

Guest
Dear Friends,

I am trying to create "Overloaded Function" in a Module; when I write "Overloads Function.." I get the following error message;

"Inappropriate use of 'Overloads' keyword in a module."

Can you please explain why this error message?

And, please let me know whether I can Overload a Function that gives return that is different in format only (eg: one function gives return in "Date:Month:Year" and another gives return in "Date:Month:Year - time" ?

I am using Visual Studio 2019.

Thanks

Regards

VKSBK


A Real Novice Programmer !

Continue reading...
 
Back
Top