Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!uwvax!uwmacc!vms.macc.wisc.edu!dorl From: dorl@vms.macc.wisc.edu (Michael (NMI) Dorl) Newsgroups: comp.os.vms Subject: CLI Routines Message-ID: <1705@uwmacc.UUCP> Date: Wed, 8-Jul-87 11:23:47 EDT Article-I.D.: uwmacc.1705 Posted: Wed Jul 8 11:23:47 1987 Date-Received: Sat, 11-Jul-87 06:34:03 EDT Sender: news@uwmacc.UUCP Reply-To: dorl@vms.macc.wisc.edu (Michael Dorl) Organization: UW-Madison Academic Computer Center Lines: 18 Keywords: CLI$ I have need to use the CLI routines recursively. What I want to do is call CLI$Parse with one string, grunge through things a bit, then call CLI$Parse with a second string, grunge through that a while, and then revert back to the original string. The idea of re-parsing the original string does occur to me but I don't think that's feasible since that does not preserve the exact state of the CLI routines (eg. scanning lists). One reason for this is that I have a list each item of which can be a logical name that can expand to its own list. I know I can write my own scanner but it would have to do all the things that the CLI routines do so well. Is there any way to preserve the state of the CLI routines or any way to have several strings open at once and switch between them? dorl@vms.macc.wisc.edu dorl@wiscmacc.bitnet