Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!cs.utexas.edu!uunet!philmtl!ncc!myrias!alberta!idacom!andrew From: andrew@idacom.UUCP (Andrew Scott) Newsgroups: comp.lang.forth Subject: Re: Help w/ compiler words Keywords: Don't have Message-ID: <710@idacom.UUCP> Date: 1 Aug 89 19:53:22 GMT References: <10371@dasys1.UUCP> Organization: IDACOM Electronics Ltd., Edmonton, Alta. Lines: 27 In article <10371@dasys1.UUCP>, aj-mberg@dasys1.UUCP (Micha Berger) writes: > > 1- I'm trying to define a new type of variable, one that holds > someone else's CFA. Is there a command that can take a CFA off > of the stack and execute it? The word you're looking for is EXECUTE . For example: VARIABLE Vector : DoVector Vector @ EXECUTE ; ' ForthWord CFA Vector ! DoVector In some Forths, there is a word, @EXECUTE, that optimizes the @ EXECUTE sequence. > 2- How do define a compiler word without . > I thought of [COMPILE] :, but in my application it wastes space. In many Forths (like Forth-83), CREATE is a syunonym for the FIG-Forth