On 22/10/10 00:41, Keith Christian wrote:
> I'm interested whether OOREXX (or regular REXX or REGINA for that
> matter) has such a variable.
>
> Common Illustration: In the Unix shell (sh, bash, ksh, etc.) the ${0}
> variable holds the name of the executing script:
>
>
> cat -n ./whatismyname.sh
> 1 #!/bin/bash
> 2 echo "The program name is '${0}'"
>
> bash -x ./whatismyname.sh
> + echo 'The program name is '\''./whatismyname.sh'\'''
> The program name is './whatismyname.sh'
>
>
> As part of a welcome screen in scripts I write, I usually echo the
> name of the script (as determined by an internal variable) so I'm
> interested in whether such a mechanism exists in REXX.
parse source
--
Erik
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Oorexx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-users