[Info-vax] defining a symbol as an action invoked when entered as command
johnwallace4 at yahoo.co.uk
johnwallace4 at yahoo.co.uk
Sat Mar 28 09:57:33 EDT 2020
On Saturday, 28 March 2020 09:21:56 UTC, 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?
Are you perhaps referring to 'deferred substitution" using the
ampersand "&" character?
See e.g. an OpenVMS Users Manual for your VMS of choice, and its
section on Understanding Symbol Substitution.
E.g.
http://h30266.www3.hpe.com/odl/axpos/opsys/vmsos84/6489/6489pro_033.html
If you provide an actual (rather than vague) example of what
you're looking for, the answer may become clearer.
More information about the Info-vax
mailing list