Searching F-PC Dictionary 
Author Message
 Searching F-PC Dictionary

Hi,

In F-PC for DOS (v3.6), I am having trouble stepping through the


but no, the addresses which this returns are not useful.

Any suggestions would be very welcome.
With thanks                                                       _
                                          _______________________| |_____
Chris Jakeman                            / _Forth_Interest_Group_| |____/
                                        / /_  __  ______  _   _  | | __
at Peterborough                        / __/ / / / __  / | | | | | |/ /
(a cathedral city                     / /   / / / /_/ /  | \_| | |   <
 80 miles north of London)           /_/   /_/ /___  /    \____| |_|\_\
Where do you come from?                           / /
                                   ______________/ /     United Kingdom
Voice +44 (0)1733 346477          /_______________/          Chapter



Sun, 24 Jan 1999 03:00:00 GMT  
 Searching F-PC Dictionary

Quote:

> In F-PC for DOS (v3.6), I am having trouble stepping through the


> but no, the addresses which this returns are not useful.

Heads are store in a different segment of memory, so you need to use a

the name to data space to work with it. Look into the definition of WORDS
(VIEW WORDS) for an example.

--

Finnigan Corporation            
2215 Grand Avenue Parkway        Tel: (512) 251-1574
Austin, TX  78728-3812           Fax: (512) 251-1547



Mon, 25 Jan 1999 03:00:00 GMT  
 Searching F-PC Dictionary

In Article 25270 of comp.lang.forth Chris Jakeman writes:

Quote:
> In F-PC for DOS (v3.6), I am having trouble stepping through the


> but no, the addresses which this returns are not useful.

    The dictionary is threaded (64 threads) and the names
    are in a different segment than the rest of the dictionary.

    In cases like this I always take a look at how WORDS is
    implemented (I assume that if the author could run through
    the dictionary, so can I).

    In this case there are all kinds of goodies to allow the
    listing of just words of special type -- or to check
    for words containing a given substring. But the tools
    to write your own are there.

    As an alternative (depending on what you want to do), the
    word that prints the name is W.NAME ( NFA -- ) and it is
    deferred.  Perhaps you can just vector it to a version
    that does what you want.

                                        John J Wavrik

                                        Univ of Calif - San Diego
                                        La Jolla, CA  92093-0112



Mon, 25 Jan 1999 03:00:00 GMT  
 Searching F-PC Dictionary

Quote:


> > In F-PC for DOS (v3.6), I am having trouble stepping through the


> > but no, the addresses which this returns are not useful.

> Heads are store in a different segment of memory, so you need to use a

> the name to data space to work with it. Look into the definition of WORDS
> (VIEW WORDS) for an example.

Wow, the things we do (I mean did) to work with the 16bit model.



Tom Zimmer



Mon, 25 Jan 1999 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Everything you EVER DID is STILL STORED IN YOUR PC ( g029 fs)

2. FPC applications for the PC

3. Searching dictionaries for large integer values

4. GForth Case Sensitive Dictionary Searches

5. Fast Dictionary Searching

6. Why is dictionary search linear?

7. Beginner Dictionary Search Question

8. Optimization help needed: Search and Replace using dictionary of parameters

9. Newbie: searching an English dictionary for a reg exp

10. Potential FPC 3.55 VIRUS, PLEASE READ if you have FPC 3.55

11. Search for a Assembler Compiler for PC on win95

12. Search for PC-Eiffel (or -SATHER)

 

 
Powered by phpBB® Forum Software