programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

Re: Definition of ENDING in Files.f and use of |

From: Gene LeFave <gene_at_tekdata.com>
Date: Wed, 24 Jan 2007 11:35:57 -0600

Morten,

The swiftforth kernel contains the basic FORTH dictionary.

If you include MAKE.F which is in the src\kernel\win32 directory, you will be
compiling a new swiftforth kernel. During this step words that are only used
internally are compiled without heads (entries in the dictionary). The |
means that the next word will be compiled without a head and won't be
defined in the new kernel.

| can only be used in files that will be built into the kernel.

Changing the kernel should be done with care.

Gene

On 24 Jan 2007 at 8:13, morten.steien_at_chello.no wrote:

> In the Files.f file the definition of ENDING starts like this
> | : ENDING ( addr len char -- addr len )
> >R BEGIN 2DUP R@ SCAN
>
> The word ending is used later in Files.f not available to me.
> When I try to use | before a definition I get that | is not defined.
>
> How and why is this uesd in the Files.f source?
>
> Morten A. Steien
>
>
> --
> Bamsen
>
> ----------------------------------------------------------------------
> sftalk_at_forth.com The SwiftForth programming discussion email list
> To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
> For list command help, send subject "help" to sftalk-request_at_forth.com
> Message archives are located at http://www.forth.com/archive/sftalk
> ----------------------------------------------------------------------
> This list is a forum for SwiftForth users. For product support and
> bug reports, please send email to support_at_forth.com
> ----------------------------------------------------------------------
>
>
>

----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and
bug reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Wed Jan 24 2007 - 09:41:27 PST

This archive was generated by hypermail 2.2.0 : Tue Dec 02 2008 - 03:04:41 PST