Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Foreign commands and CLI$GET_VALUE, etc
@ 1993-06-22  8:26 John Lovell
  1993-06-22 19:10 ` fairfield
  0 siblings, 1 reply; 2+ messages in thread
From: John Lovell @ 1993-06-22  8:26 UTC (permalink / raw)


Hi, can an executable image tell whether or not it
has been installed in the command table with SET COMMAND ?

I would like to have the option of both being able to, say,
"run" an program by typing

$ run test

as well as having TEST.EXE defined as a verb with SET COMMAND.
In the latter case, I am using CLI routines to parse, say,

$ test/logfile=test.log

But if I try to "run" a program which has a CLI$GET_VALUE in
it then I get a fatal syntax error parsing "LOGFILE", "entity
not found in command table."

To avoid this problem I would like TEST.EXE to be able to query
the command table to see if it's in there and only then call
CLI routines. Can this be done?

Any help appreciated,

Thanks,

John Lovell (lovell@sdr.slb.com)
Schlumberger-Doll Research,
Ridgefield, CT 06877
203-431-5560




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1993-06-22 19:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-06-22  8:26 Foreign commands and CLI$GET_VALUE, etc John Lovell
1993-06-22 19:10 ` fairfield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox