[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: Unloading
- Subject: Re: Unloading
- From: Robert Holmgren holmgren@xxxxxxxx
- Date: Mon, 27 Jan 1997 23:55:09 EST
** Reply to note from Harry Binswanger Mon, 27 Jan 1997 17:30:32 -0500 (EST)
> At 09:15 AM 1/27/97 EST, Robert Holmgren:
>>UNLOAD still works. Go to .DLG frame {{C,0m}} and watch what
>>happens as you command "UNLOAD 2" or "UNLOAD C".
> No, I wanted to unload my pers.spl and dict.spl to run the
> spell-checker on a book, to produce the concordance (or whatever
> the list of words used is called) as suggested by someone here.
How are you using the UNLOAD command? I don't think you could ever just say
"UNLOAD PERS.SPL". UNLOAD takes feature numbers as arguments; you append
the letter "F" if you want to kill the associated feature File from memory.
And it works. Try this. Command "LOAD PERS.SPL". Check that it's loaded:
va/nv $SP. It should respond "d:\dir\PERS.SPL". Now command "UNLOAD 3F".
Look again at va/nv $SP: it responds "(none)". Zap.
But how is this going to help you build up a "concordance"? That's
another kettle of fish. You gotta Quit XyWrite, move DICT.SPL out
of the DOS PATH (and the XyWrite parent directory), then reload XyWrite.
Unload 3F for good measure. Then, with no files in any windows (for
speed), issue a command like:
spell filename_to_index,spell.tmp
There'll be an error beep (because can't find DICT.SPL). But ignore it; be
stalwart! It always looks like XyWrite has gone into a coma. After a
while -- depends on the filelength -- you get a Done message (or something
like that). Call up SPELL.TMP, and -- wow! Every single word in the file,
in alphabetical order (assuming that's your SORT setting). Works great.
-----------
Robert Holmgren
holmgren@xxxxxxxx
-----------