Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: lovell@sdr.slb.com (John Lovell)
Subject: Foreign commands and CLI$GET_VALUE, etc
Date: Tue, 22 Jun 1993 08:26:48 GMT	[thread overview]
Message-ID: <C90Kso.5H7@sdr.slb.com> (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




             reply	other threads:[~1993-06-22  8:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-06-22  8:26 John Lovell [this message]
1993-06-22 19:10 ` Foreign commands and CLI$GET_VALUE, etc fairfield
read-only archive

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