home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.tcl
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!tulane!cpu.com!cpu.com!GWLESTER
- From: gwlester@cpu.com (Gerald W. Lester)
- Subject: Re: How do I imbed tcl in an application
- Nntp-Posting-Host: merlin.cpu.com
- References: <1992Jul27.175107.7633@rchland.ibm.com> <ADRIANHO.92Jul27175403@barkley.berkeley.edu> <1992Jul28.113922.19882@cas.org>,<156g6sINNnp2@agate.berkeley.edu> <1992Jul29.222557.7305@cpu.com>,<ADRIANHO.92Jul29201730@barkley.berkeley.edu> <1992Jul30.130352.11885@cpu.com>,<ADRIANHO.92Jul30145641@barkley.berkeley.edu>
- Sender: usenet@cpu.com (Usenet administrator)
- Organization: Computerized Processes Unlimited, Metairie, LA, (504)-889-2784
- Date: Fri, 31 Jul 1992 13:25:12 GMT
- Message-ID: <1992Jul31.132512.18164@cpu.com>
- Reply-To: gwlester@cpu.com
- Lines: 21
-
- In article <ADRIANHO.92Jul30145641@barkley.berkeley.edu>, adrianho@barkley.berkeley.edu (Adrian J Ho) writes:
- >> Another change that would be noce is to extend the proc command to take
- >>an optional fourth arguement that would be a tcl command to invoke when the
- >>procedure is deleted.
- >
- >Adding that just requires a few changes to Tcl_ProcCmd() to accomplish
- >that, but I can't think of any application for this enhancement. Can
- >you suggest any concrete examples? (The reason I ask is coz I figured
- >John would've added it a long time ago if it had any utility.)
-
- Adrian,
-
- Sure, I'm writting a server. I have a procedure in my program, that
- *must* not be changed (like something that checks security). I would like to
- put a delete command on that causes a failure if, on of the files that get
- sourced in to handle a service request, an attempt is made to redefine the
- procedure in question.
-
- If one is using Extended Tcl with packages (*.tlib) the problem becomes
- even more likely unless your packages are very small.
-
-