home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!cs.utexas.edu!torn!news.ccs.queensu.ca!qucdn!3034871
- Organization: Queen's University at Kingston
- Date: Sun, 13 Dec 1992 21:39:56 EST
- From: <3034871@QUCDN.QueensU.CA>
- Message-ID: <92348.2139563034871@QUCDN.QueensU.CA>
- Newsgroups: comp.lang.forth
- Subject: Defining variables automatically
- Lines: 14
-
- I'm wondering if it is possible to define a word that then defines
- new variables when it is executed. That is,
-
- : NewWord 100 [COMPILE] VARIABLE ;
-
- The problem is, that when you call `NewWord' it prompts you for
- a variable name (as it should, logically speaking).
-
- The question then, is, can the input be redirected somehow for
- the purpose of entering the variable names?
-
- Thanks!
- Ralph Siemsen
- E-Mail: <303-4871@QUCDN.QueensU.CA>
-