Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #14594

Re: 16.6.1.2460 WORDLIST

From Krishna Myneni <krishna.myneni@ccreweb.org>
Newsgroups comp.lang.forth
Subject Re: 16.6.1.2460 WORDLIST
Date 2012-07-31 11:43 -0700
Organization http://groups.google.com
Message-ID <9be3da5c-42bf-4f5f-be77-e1a36c601d77@w24g2000vby.googlegroups.com> (permalink)
References <ac30b6e1-6c65-4607-8d5b-e0e9f83e1956@n16g2000vbn.googlegroups.com>

Show all headers | View raw


On Jul 31, 8:31 am, Mark Wills <markrobertwi...@yahoo.co.uk> wrote:
> ( -- wid )
> Create a new empty word list, returning its word list identifier wid.
> The new word list may be returned from a pool of preallocated word
> lists or may be dynamically allocated in data space.
> A system shall allow the creation of at least 8 new word lists in
> addition to any provided as part of the system.
> ----------------------------------------------------------
>
> How does one set the name of the new wordlist?
>
> So, if I type:
>
> WORDLIST
>
> I get a new wordlist, with its ID on the stack. How do I give the
> wordlist a meaningful name?
>
> Thanks

Unless you are very constrained by your target platform resources, I
recommend implementing WORDLIST without an arbitrary limit on the
number of wordlists provided by your Forth system. Wordlists can serve
as a useful programming construct for several problems, modular
programming being one of them.

Krishna

Back to comp.lang.forth | Previous | NextPrevious in thread | Find similar


Thread

16.6.1.2460 WORDLIST Mark Wills <markrobertwills@yahoo.co.uk> - 2012-07-31 05:31 -0700
  Re: 16.6.1.2460 WORDLIST Doug Hoffman <glidedog@gmail.com> - 2012-07-31 08:54 -0400
    Re: 16.6.1.2460 WORDLIST Mark Wills <markrobertwills@yahoo.co.uk> - 2012-07-31 06:39 -0700
      Re: 16.6.1.2460 WORDLIST Mark Wills <markrobertwills@yahoo.co.uk> - 2012-07-31 06:58 -0700
        Re: 16.6.1.2460 WORDLIST "David N. Williams" <williams@umich.edu> - 2012-07-31 10:21 -0400
          Re: 16.6.1.2460 WORDLIST Mark Wills <markrobertwills@yahoo.co.uk> - 2012-07-31 07:46 -0700
            Re: 16.6.1.2460 WORDLIST "David N. Williams" <williams@umich.edu> - 2012-07-31 12:06 -0400
          Re: 16.6.1.2460 WORDLIST anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-07-31 14:49 +0000
            Re: 16.6.1.2460 WORDLIST "David N. Williams" <williams@umich.edu> - 2012-07-31 11:21 -0400
  Re: 16.6.1.2460 WORDLIST Krishna Myneni <krishna.myneni@ccreweb.org> - 2012-07-31 11:43 -0700

csiph-web