Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!bruce!dbrmelb!steveo From: steveo@dbrmelb.dbrhi.oz (Stephen Oakes) Newsgroups: comp.windows.ms Subject: Any Knowledge-Pro Programmers out there? Message-ID: <865@dbrmelb.dbrhi.oz> Date: 22 Aug 90 05:54:25 GMT Organization: CSIRO, Div. Building Constr. and Eng'ing, Melb., Australia Lines: 29 I am working on a rather large project, which is basically being programmed in Knowledge-Pro (Windows). I have come across several occasions where I would like to be able to (abnormally) exit from a particular procedure ("topic" in KPwin terminology). Basically I require something like: do(x). topic x. if ?a then { etc } (* Or anything which involves evaluating a *) end. (* x *) topic a. if {special condition} then {terminate(x) (or terminate(calling_topic())) } else {etc, give "a" a value} end. (* a *) KP provides the function "exit", but only to exit from the current topic. I need to be able to exit from the topic which called the current topic (also terminating the current topic, of course.) Anyone have any ideas, tricks, fudges?? (PS. Is this the correct newsgrope for such a question??) THANKS FOR ANY REPLIES, Stephen Oakes.