[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1 The Dictionary


[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.1 Dictionary Structure


[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1.2 See what’s defined

The ANS says:

WORDS ( – )

List the definition names in the first word list of the search order. The format of the display is implementation-dependent. WORDS may be implemented using pictured numeric output words. Consequently, its use may corrupt the transient region identified by #>.

In pfe WORDS doesn’t clobber the transient region used for <# # #S #>. The format is in 20 character wide columns. Two columns are used for words longer than 17 characters. The other three characters are spaces and a word category code:

:

word is colon definition. You can apply SEE to such a word to decompile it.

V

marks word was created using CREATE, VARIABLE, 2VARIABLE or FVARIABLE.

C

word was defined with CONSTANT or 2CONSTANT.

v

a system defined variable (a dictionary representation of a C-Variable, returns address).

C

a system defined constant (a dictionary representation of a C-Variable, returns value).

W

a words lists defined with VOCABULARY.

D

a word defined with some CREATE ... DOES> defining word.

p

a primitive, defined in the C source.

In pfe you have also:

WWORDS ( ’<spaces>pattern’ – )

parses a space-delimited pattern from the input stream. Only words matched by this pattern are listed. Allowed wildcards are ? – matches one arbitrary character and * – matches zero or more arbitrary characters. Examples:

?

matches all words only one character long.

*S

matches all words ending with the letter S.


[Top] [Contents] [Index] [ ? ]

About This Document

This document was generated on November 5, 2024 using texi2html 5.0.

The buttons in the navigation panels have the following meaning:

Button Name Go to From 1.2.3 go to
[ << ] FastBack Beginning of this chapter or previous chapter 1
[ < ] Back Previous section in reading order 1.2.2
[ Up ] Up Up section 1.2
[ > ] Forward Next section in reading order 1.2.4
[ >> ] FastForward Next chapter 2
[Top] Top Cover (top) of document  
[Contents] Contents Table of contents  
[Index] Index Index  
[ ? ] About About (help)  

where the Example assumes that the current position is at Subsubsection One-Two-Three of a document of the following structure:


This document was generated on November 5, 2024 using texi2html 5.0.