home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ARM Club 1
/
ARM_CLUB_CD.iso
/
contents
/
education
/
n
/
xwords
/
!Help
next >
Wrap
Text File
|
1994-09-22
|
4KB
|
91 lines
!Xwords
v1.0 (21st-Sept-'94)
Geraint Williams
This is the first version of a programme which will take a list of words
from a Text-file, and generate a Draw-file crossword puzzle from them.
The programme accepts wordlists (of up to 50 words) from Text-files,
where individual words are separated by a "newline" character (ie. one
word per line).
Output is via a Draw-file grid and a Text-file containing the ordered
wordlist (the programme also accepts clue lists, which are inputed
identicaly to the word lists, with the order of clues {in the clue-file}
corresponding to the order of words {in the word-file}).
The Text-file output (ie. ordered clues or words) may be obtained with a
Draw-text-area header, thus allowing direct import of clues/grid into Draw.
Alternatively, normal text and grid output can combined in most document
processors, eg. Impression, Pendown. (Xwords supports data transfer via
Scrapfiles)
Draw-file grids are intelligently grouped allowing easy editing of eg. font,
background colour.
Please note that while the programme is compiling the crossword puzzle, it
will need to "grab" large amounts of memory temporarily (A wordlist of 20
words will require approx. 128K, while one of 50 words may well require
1MB of temporary free memory.) (Note that memory is released as soon as
the process is completed, or halted)
Press <Escape> to halt the compilation process.
"Open" crosswords will be compiled on a large grid in order to speed up
the compilation process. However, this can produce sprawly and uncompact
crossword grids. The alternative is to specify a maximum extent
for the grid size (ie. a "Tight" crossword), but do be warned that my
compilation algorithm is: not very intelligent, written in BASIC, and not
particularly well optimised. (I am currently looking into a better algorithm
that will: allow the process to multi-task, produce numerous grids from the
same wordlist, be able to spot "problem" words, and not need to snatch so
much memory to operate). On the other hand, you may find that even an
"Open" crossword is taking a long time to compile; the answer is to select
a "Tight" crossword, and set the size to "49" (this is the maximum
permitted size). If no problems are encountered, then you can gradually
reduce this size, to compact the crossword.
The programme has only be tested under RISC OS 3.1
This application !Xwords is SHAREWARE, meaning that if you find it
useful and start producing crosswords for third-parties, then you should
obtain a registered version by sending £5(sterling) + return postage costs to
me. (I have plenty disks). Site licences for schools/clubs etc. allowing use
by all connected persons will cost an additional £5. Cash or cheques
payable to Geraint Williams.
The registered version will have a wordsearch option included, allowing
compilation of wordsearches from wordlists. The improved version of the
crossword compiler should also be available soon, features including:
multitasking/go-faster compilation, some sort of routine to spot which
words in particular are causing problems in compiling, as well as subtle
features such as answer sizes appended to the clues ie.(3,5).
This version of the application !Xwords is copyright Geraint Williams
1994. It may be freely distributed as long as no charges other than media
costs are imposed, and this file is always kept with the application.
Exempt from the charging restrictions are Public Domain libraries who
may charge their normal (low) distribution costs for applications of this
nature. This software is used at your own risk, as I accept no
responsibility for any damage caused as a direct or indirect result of
using this programme.
Bugs,abnormalities,registration,problems,complaints,suggestions to me:
Geraint Williams
36, Graigola Rd,
Glais,
Swansea,
W.GLAM.
SA7 9HS
Fax. (0792 655353)
Big thanks to:
!Zap courtesy of Dominic Symes
!FormEd2 courtesy of Acorn Computers/RISC squad/Paul Hobbs