But wouldn't one know the name of subroutine that the code is getting
executed? Have define a variable with a value that is the name of the
subroutine and read this variable whenever one needs to use the
subroutine name anywhere within the code. 

BJ

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Shawn Waldie
Sent: Monday, October 04, 2004 3:22 PM
To: [EMAIL PROTECTED]
Subject: [U2] [UD]

Is there a way to reference the name of a subroutine within the code of
said subroutine?

For example:

FIRST.FOUR.CHARS.OF.SUBR = name.of.subr[1,4]


TIA
************************************************
* Shawn Waldie                San Juan College *
* Programmer/Analyst         4601 College Blvd *
* Phone: (505)566-3072   Farmington, NM  87402 *
*      email: [EMAIL PROTECTED]       *
*                                              *
* HP-UX 11.11   UniData 6.0.4    Colleague R17 *
************************************************
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/


----------------------------------------
My Inbox is protected by SPAMfighter
3757 spam mails have been blocked so far.
Download free www.spamfighter.com today!
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to