Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!oliveb!mipos3!cadev4!esulzner From: esulzner@cadev4.intel.com (Eric Sulzner ~) Newsgroups: comp.lang.forth Subject: Runtime compiling? Keywords: Tyro, help Message-ID: <330@mipos3.intel.com> Date: 22 Jun 89 18:56:58 GMT Sender: news@mipos3.intel.com Reply-To: esulzner@cadev4.UUCP (Eric Sulzner ~) Distribution: comp.lang.forth Organization: Corporate CAD, INTeL Corporation, Santa Clara, CA Lines: 20 Can CREATE, VARIABLE and such (or equivalent functionality) be used within a colon definition without passing the names to the definitions? (Preferably, is there some place I can put the names and a pointer I can set to make Forth think it's reading the name from the input stream?) As in : EXAMP ( --) CREATE ENTRY 1024 ALLOT ; ( I know that doesn't work). I'd like my program to be able to allocate arrays and create variables based on runtime needs. I'm running FF-Forth on an AT clone. I could get around the problem by preallocating all possible arrays and variables and writing routines to save only the used portions, but it would be cleaner to do it as needed. Eric Sulzner esulzner@cadev4.UUCP esulzner@cadev4.intel.com 54177