Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!willett!ForthNet From: ForthNet@willett.UUCP (ForthNet articles from GEnie) Newsgroups: comp.lang.forth Subject: Category 10, Topic 16 Message-ID: <179.UUL1.3#5129@willett.UUCP> Date: 5 Jan 90 16:04:28 GMT Organization: Latest Link in ForthNet Chain Lines: 26 Category 10, Topic 16 Message 84 Sun Dec 24, 1989 R.BERKEY [Robert] at 09:08 PST To: Roedy Green RG> 7.1760 LEAVE RG> If leave is used in a colon definition NOT in a loop, will RG> this exit the current loop in the caller? Hmmm, LEAVE refers to "compilation semantics" needing "loop control parameters". Yet DO indicates that there are "loop control parameters" for the "interpretation semantics". Another note, the compiling stack for DO is backwards. RG> If not, it sure would be nice to have a way of putting the RG> code for the guts of a loop into a separate definition, RG> with access to a LEAVE mechanism. Yes, but how? It would be nice to access the index from called words, too. Agape, Robert ----- This message came from GEnie via willett through a semi-automated program. Report problems to: 'uunet!willett!dwp' or 'willett!dwp@gateway.sei.cmu.edu'