[Info-vax] $ decw$define_term = decw$define_term
Ken Fairfield
ken.fairfield at gmail.com
Wed Feb 23 13:30:11 EST 2011
On Feb 23, 4:24 am, pe... at langstoeger.at (Peter 'EPLAN' LANGSTOEGER)
wrote:
> In article <4d65078... at ns.langstoeger.at>, pe... at langstoeger.at (Peter 'EPLAN' LANGSTOEGER) writes:
>
>
>
> >In article <ik2q3e$no... at online.de>, hel... at astro.multiCLOTHESvax.de (Phillip Helbig---undress to reply) writes:
> >>This line of code:
>
> >> $ decw$define_term = decw$define_term
>
> >>occurs only in SYS$MANAGER:DECW$STARTUP.COM. It seems to me that the
> >>only context in which it would make sense is setting a local symbol to
> >>be equal to a global symbol. However, if that is the case, then where
> >>is the global symbol defined? (I realise that one can define a symbol
> >>by means other than having it present in clear text in a DCL procedure,
> >>but since I don't know the source for the (presumably) global definition
> >>it makes it difficult to understand what is going on.
>
> >It used to be:
>
> >DECW$DEFINE == "DEFINE/NOLOG/EXEC/TABLE=DECW$LOGICAL_NAMES"
> >DECW$DEFINE_TERM == "DEFINE/NOLOG/EXEC/TABLE=DECW$LOGICAL_NAMES/TRANS=TERMINAL"
>
> >but at the first look I don't know where they are (or were ?) defined
> >and I also don't know why I would need a local symbol if I already have
> >a global one to use...
>
> Both global symbols are set in SYS$STARTUP:DECW$LOGICALS.COM
Actually, on VMS V8.3 (Alpha) with DWMOTIF V1.6 and DWMOTIF_SUPPORT
V8.3
loaded, I see only:
$ ! P2 = Symbol to use to define a name in this table (default: DECW
$DEFINE)
$ If p2 .eqs. "" then p2 := DECW$DEFINE
in DECW$Logicals.com. A search of Sys$Startup:Decw*.com didn't
reveal anywhere that decw$define[_term] was defined with a non-null
value. In fact, a search of Sys$Startup:*.com didn't reveal anything
more...
OTOH, we're running on a server, no graphics head, so there's no
DECW$SERVERxx_TABLE created. Whether that's relevant or
not, I can't say.
-Ken
More information about the Info-vax
mailing list