Menu

UNREFERENCED_PARAMETER ??

2003-01-14
2012-09-26
  • Nobody/Anonymous

    One more question and then I'll leave you guys alone for a while..
    What is this for:

    UNREFERENCED_PARAMETER(somepar);

    I can't find it in the tutorials I have, or on MSDN, or in the API reference help file, or anywhere else.

    -Jay

     
    • Nobody/Anonymous

      PROCEDURE UNREFERENCED_PARAMETER(AnyParameter);

      The compiler generates a warning when a parameter of a procedure is not referenced within that procedure.  In some instances it is necessary to have an unreferenced parameter within a procedure.  Operating system call back procedures are such an example. The UNREFERENCED_PARAMETER procedure can be used to suppress warnings on unreferenced parameters.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.