Sub MAIN
Dim suggest$(5)


newword$ = ""
alldone = 0
While alldone < 2
lowlimit = 3
highlimit = 8
thelen = Int(Rnd() * (highlimit - lowlimit) + 1)
For wordmaker = 1 To thelen
lettermaker = Int(Rnd() * (58 - 1) + 1)
If lettermaker = 1 Then letter$ = "a"
If lettermaker = 2 Then letter$ = "a"
If lettermaker = 3 Then letter$ = "a"
If lettermaker = 4 Then letter$ = "b"
If lettermaker = 5 Then letter$ = "b"
If lettermaker = 6 Then letter$ = "c"
If lettermaker = 7 Then letter$ = "c"
If lettermaker = 8 Then letter$ = "d"
If lettermaker = 9 Then letter$ = "d"
If lettermaker = 10 Then letter$ = "e"
If lettermaker = 11 Then letter$ = "e"
If lettermaker = 12 Then letter$ = "e"
If lettermaker = 13 Then letter$ = "f"
If lettermaker = 14 Then letter$ = "f"
If lettermaker = 15 Then letter$ = "g"
If lettermaker = 16 Then letter$ = "g"
If lettermaker = 17 Then letter$ = "h"
If lettermaker = 18 Then letter$ = "h"
If lettermaker = 19 Then letter$ = "i"
If lettermaker = 20 Then letter$ = "i"
If lettermaker = 21 Then letter$ = "i"
If lettermaker = 22 Then letter$ = "j"
If lettermaker = 23 Then letter$ = "k"
If lettermaker = 24 Then letter$ = "l"
If lettermaker = 25 Then letter$ = "l"
If lettermaker = 26 Then letter$ = "m"
If lettermaker = 27 Then letter$ = "m"
If lettermaker = 28 Then letter$ = "m"
If lettermaker = 29 Then letter$ = "n"
If lettermaker = 30 Then letter$ = "n"
If lettermaker = 31 Then letter$ = "o"
If lettermaker = 32 Then letter$ = "o"
If lettermaker = 33 Then letter$ = "o"
If lettermaker = 34 Then letter$ = "p"
If lettermaker = 35 Then letter$ = "p"
If lettermaker = 36 Then letter$ = "q"
If lettermaker = 37 Then letter$ = "r"
If lettermaker = 38 Then letter$ = "r"
If lettermaker = 39 Then letter$ = "r"
If lettermaker = 40 Then letter$ = "s"
If lettermaker = 41 Then letter$ = "s"
If lettermaker = 42 Then letter$ = "s"
If lettermaker = 43 Then letter$ = "t"
If lettermaker = 44 Then letter$ = "t"
If lettermaker = 45 Then letter$ = "t"
If lettermaker = 46 Then letter$ = "u"
If lettermaker = 47 Then letter$ = "u"
If lettermaker = 48 Then letter$ = "u"
If lettermaker = 49 Then letter$ = "v"
If lettermaker = 50 Then letter$ = "v"
If lettermaker = 51 Then letter$ = "w"
If lettermaker = 52 Then letter$ = "w"
If lettermaker = 53 Then letter$ = "w"
If lettermaker = 54 Then letter$ = "x"
If lettermaker = 55 Then letter$ = "y"
If lettermaker = 56 Then letter$ = "y"
If lettermaker = 57 Then letter$ = "y"
If lettermaker = 58 Then letter$ = "z"
FontSize 14
Insert letter$
Next wordmaker

ParaDown

ParaUp 1, 1

Redim suggest$(5)
ToolsGetSpelling suggest$(), newword$
stayassel$ = newword$
newword$ = newword$


loop = 1
possibility$ = suggest$(loop)

checklen = Len(possibility$)

If checklen <> 0 Then newword$ = possibility$

If newword$ <> stayassel$ Then alldone = alldone + 1
If newword$ <> "" Then alldone = alldone + 1
Insert newword$
Wend
Insert Chr$(13)
End Sub