` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: A template to return the current procedure name
1998-09-21 -- Craig Ransom
 
Note that it's for CW 2003 but the same rules apply, but in C4/C5 you will have to add FAMILY() to it and check to make sure that the embed points are still there! #TEMPLATE(ThisProcTPL,'Save Procedure Name TPL') #!------------------------------------------------------------- #EXTENSION(ThisProc,'Save Procedure Name TPL') #AT(%GlobalData) CurrentProcedureName STRING(64) #ENDAT #AT(%ProcedureSetup),FIRST CurrentProcedureName = '%Procedure' #ENDAT Populate this at the GLOBAL level in your app, and it will "hook" itself into _all_ the procedures


Today is May 5, 2024, 11:29 am
This article has been viewed 35118 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: