[Info-vax] defining a symbol as an action invoked when entered as command
Bob Gezelter
gezelter at rlgsc.com
Sat Mar 28 08:38:26 EDT 2020
On Saturday, March 28, 2020 at 5:21:56 AM UTC-4, Phillip Helbig (undress to reply) wrote:
> I can do something like this in a command procedure:
>
> $ DEFINE/GROUP/NOLOG HERE 'F$ENVIRONMENT("DEFAULT")'
> $ EXIT
>
> and define a symbol to run this procedure. Works fine.
>
> Is there anyway to get the same result as a symbol which gets evaluated
> only when entered as a command?
Phillip,
I am not sure what you are asking.
You can define the command:
$ HERE:= xxx 'F$ENVIRONMENT("DEFAULT")'
Which will do xxxx with parameter of the (at the time of definition) current directory.
What is the intended use case?
- Bob Gezelter, http://www.rlgs.com
More information about the Info-vax
mailing list