| **Navigation:**  [[templates.htm|Templates]] > [[tlrcontents.htm|Template Language Reference]] > Built-in Template Procedures >====== LINKNAME (return mangled procedure name) {{c6h0068.jpg|C6H0068.jpg}} ====== | [[items return multi valued symbol instances .htm|{{btn_prev_n.gif|Previous page}}]][[tlrcontents.htm|{{btn_home_n.gif|Return to chapter overview}}]][[quote replace string special characters .htm|{{btn_next_n.gif|Next page}}]] | | || **LINKNAME(** //prototype//, [[//classname//], [//interfacename//] **, **[//parentInterfaceName//]]// //) {{blk2blue.jpg|blk2blue.jpg}} | **LINKNAME** | Returns the mangled procedure name for the linker. | | //Prototype// | A string constant or symbol containing the prorotype of the procedure as it appears in the MAP. | | //class name// | A string constant or symbol containing the name of the class the procedure is using. | | //interface name// | A string constant or symbol containing the name of the interface that the class has implemented//.// | | //parentInterfaceName// | If a member procedure of an Interface does not exist in the Interface and was inherited, then specify the parent Interface name where the method is defined. | The **LINKNAME** procedure returns the mangled procedure name for the linker. If a //class name //or //interface name //is specified it should not be added as a parameter to the prototype. **Return Data Type:**     STRING **Examples:** | **%(****LINKNAME****(%Procedure & %Prototype)) @%ExpLineNumber** | | **%[55](****LINKNAME****(%pClsMeth & %pClsMethProt & ',' & %pClsMethCallCon, %pClassName)) @?** | | **%[55](****LINKNAME****(%pIMeth & %pIMethodPrototype & ',' & %pIMethodCallCon, %pCName, %pIface, %pIfaceMethDef)) @?** | | **#SET(%ExpLine,****LINKNAME****('MyExportedFunc(long,string),long'))** | | **#SET(%ExpLine,****LINKNAME****('MyMember(long,string),long','MyClass'))** | | **#SET(%ExpLine,****LINKNAME****('MyIntMember(long,string),long','MyClass','MyInterface'))** | **See Also:     ****[[prototyper and name mangler.htm|Prototyper and Name Mangler]]** [[built in template procedures.htm|Built-In Template Procedures]]