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


Groups > comp.lang.forth > #11293

Re: :NONAME

From "Rod Pemberton" <do_not_have@notemailnot.cmm>
Newsgroups comp.lang.forth
Subject Re: :NONAME
Date 2012-04-14 17:23 -0400
Organization Aioe.org NNTP Server
Message-ID <jmcpsa$fq2$1@speranza.aioe.org> (permalink)
References <57b57e62-cd3c-40bf-88c5-733cb07c2e50@do4g2000vbb.googlegroups.com> <LOOdnQg-lPDU9hrSnZ2dnUVZ_rOdnZ2d@supernews.com> <jm9i7n$u44$1@speranza.aioe.org> <cbc60ea8-0362-4436-a4b6-a14b41d78031@w5g2000vbp.googlegroups.com>

Show all headers | View raw


"Mark Wills" <markrobertwills@yahoo.co.uk> wrote in message
news:cbc60ea8-0362-4436-a4b6-a14b41d78031@w5g2000vbp.googlegroups.com...
> RP wrote:
...

> > Now, I just need to figure out how to automatically fill the name in
> > with something ... unless it needs to be headerless too ...
>
> Hopefully you have a word such as HEADER, which takes a string
> length/ address pair and creates a linked entry in the dictionary. It's a
> useful factor for : CREATE CONSTANT VARIABLE et al.

CREATE and : (colon) use (CREATE) .  fig-Forth uses CREATE directly in :
(colon) .  For some reason, mine uses (CREATE) and either ENTER compiled for
: (colon) or DOVAR compiled for CREATE ...  It may be because of the
definitions I chose to use for VARIABLE and CONSTANT .  I've been meaning to
look into why exactly and also figure out why fig-Forth is different here.
It's like (CREATE) really should be CREATE ...

CONSTANT VARIABLE VALUE 2CONSTANT 2VARIABLE SET use CREATE
directly.  DEFER will too, if I decide it's definition is useful.

> My earlier suggestion of negating the length won't work - it'll break
> FIND. Might as well create a word with two spaces as its name... Find
> won't find it

:-)

As Albert van der Horst pointed out, we could've used SMUDGE.  Sigh ...
I guess I'll have to keep it in mind to find out which is trivially quicker.


Rod Pemberton

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


Thread

:NONAME Mark Wills <markrobertwills@yahoo.co.uk> - 2012-04-12 13:48 -0700
  Re: :NONAME Zbiggy <zbigniew2011REMOVE@gmail.REMOVE.com> - 2012-04-12 23:08 +0100
  Re: :NONAME Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-04-12 16:53 -0500
    Re: :NONAME The Beez <the.beez.speaks@gmail.com> - 2012-04-12 23:50 -0700
    Re: :NONAME BruceMcF <agila61@netscape.net> - 2012-04-13 05:34 -0700
      Re: :NONAME Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-04-13 08:02 -0500
        Re: :NONAME BruceMcF <agila61@netscape.net> - 2012-04-13 07:26 -0700
  Re: :NONAME BruceMcF <agila61@netscape.net> - 2012-04-12 14:54 -0700
    Re: :NONAME Mark Wills <markrobertwills@yahoo.co.uk> - 2012-04-12 23:58 -0700
      Re: :NONAME "Elizabeth D. Rather" <erather@forth.com> - 2012-04-12 21:11 -1000
        Re: :NONAME Hugh Aguilar <hughaguilar96@yahoo.com> - 2012-04-22 23:13 -0700
      Re: :NONAME Ian Osgood <iano@quirkster.com> - 2012-04-13 04:31 -0700
        Re: :NONAME Albert van der Horst <albert@spenarnc.xs4all.nl> - 2012-04-13 19:40 +0000
      Re: :NONAME BruceMcF <agila61@netscape.net> - 2012-04-13 05:15 -0700
      Re: :NONAME Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-04-13 08:00 -0500
        Re: :NONAME Mark Wills <markrobertwills@yahoo.co.uk> - 2012-04-13 06:19 -0700
          Re: :NONAME BruceMcF <agila61@netscape.net> - 2012-04-13 07:33 -0700
  Re: :NONAME "Elizabeth D. Rather" <erather@forth.com> - 2012-04-12 13:54 -1000
    Re: :NONAME "Rod Pemberton" <do_not_have@notemailnot.cmm> - 2012-04-13 11:54 -0400
      Re: :NONAME Mark Wills <markrobertwills@yahoo.co.uk> - 2012-04-13 10:23 -0700
      Re: :NONAME BruceMcF <agila61@netscape.net> - 2012-04-13 13:02 -0700
      Re: :NONAME Mark Wills <markrobertwills@yahoo.co.uk> - 2012-04-13 13:06 -0700
        Re: :NONAME BruceMcF <agila61@netscape.net> - 2012-04-13 15:57 -0700
        Re: :NONAME Albert van der Horst <albert@spenarnc.xs4all.nl> - 2012-04-14 01:05 +0000
        Re: :NONAME "Rod Pemberton" <do_not_have@notemailnot.cmm> - 2012-04-14 17:23 -0400
          Re: :NONAME BruceMcF <agila61@netscape.net> - 2012-04-14 16:22 -0700
            Re: :NONAME "Rod Pemberton" <do_not_have@notemailnot.cmm> - 2012-04-15 12:50 -0400
              Re: :NONAME "Elizabeth D. Rather" <erather@forth.com> - 2012-04-15 08:12 -1000
              Re: :NONAME BruceMcF <agila61@netscape.net> - 2012-04-15 11:17 -0700
        Re: :NONAME Hugh Aguilar <hughaguilar96@yahoo.com> - 2012-04-17 16:21 -0700

csiph-web