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


Groups > comp.lang.forth > #11227

Re: :NONAME

Date 2012-04-12 13:54 -1000
From "Elizabeth D. Rather" <erather@forth.com>
Organization FORTH, Inc.
Newsgroups comp.lang.forth
Subject Re: :NONAME
References <57b57e62-cd3c-40bf-88c5-733cb07c2e50@do4g2000vbb.googlegroups.com>
Message-ID <LOOdnQg-lPDU9hrSnZ2dnUVZ_rOdnZ2d@supernews.com> (permalink)

Show all headers | View raw


On 4/12/12 10:48 AM, Mark Wills wrote:
> I think I read the other day, :NONAME pushes an xt on the stack
> allowing the compiled word to be executed with EXECUTE.
>
> I take it that LATEST and HERE are *not* changed when a :NONAME
> definition is built? I.e the word is fleeting - it exists for as long
> as you have the XT, and is overwritten by the next compiling activity,
> such as , CREATE : etc
>
> Would that be accurate?

No.

As others have pointed out, the code very definitely goes in the 
dictionary and is there permanently (unless discarded by, e.g., MARKER). 
HERE will be modified if the implementation combines code and data 
space. LATEST will definitely change.  In other words, this is a 
definition like any other colon definition except that it does not have 
a FINDable name; access is only through its xt.

Cheers,
Elizabeth

-- 
==================================================
Elizabeth D. Rather   (US & Canada)   800-55-FORTH
FORTH Inc.                         +1 310.999.6784
5959 West Century Blvd. Suite 700
Los Angeles, CA 90045
http://www.forth.com

"Forth-based products and Services for real-time
applications since 1973."
==================================================

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