I don't know about UV, but I use SYSTEM(40) on UD to return the absolute path of the object file currently being executed; then pick out the name from this.
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Dianne Ackerman > Sent: Friday, July 29, 2005 11:17 AM > To: U2 List Server > Subject: [U2] [UV] get program name > > > Is there a way in basic to get the name of the program you're in? I want to pass the name of the program to a subroutine > for error reporting and I don't want to have to set a variable PROG.NAME = "THIS.PROG.NAME" in every program. I was > hoping for some kind of @PROGNAME variable, but I can't find one. > Thanks! > -Dianne ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
