home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.whtech.com
/
ftp.whtech.com.tar
/
ftp.whtech.com
/
club100
/
txt
/
coder.ba
< prev
next >
Wrap
Text File
|
2006-10-19
|
1KB
|
27 lines
10 'Spell Checker By Patrick Ellison
20 '(C)1989 ALL RIGHTS RESERVED
30 'I grant a software licence to any
40 'user that downloads this program
50 'to use any way seen fit. But I
60 'retain ALL ownership to the
70 'programming as long as the
80 'copyright notice stays on ALL
90 'copies TKS. MICRO ACE 703-641-4863
100 CLEAR2000:MAXFILES=2:PRINT"Phase 3 Coding file
110 OPEN":SCWRK"FORINPUTAS1:OPEN"SCWRK"FOROUTPUTAS2
120 IFEOF(1)<>0THEN220ELSELINEINPUT#1,A$:N$=LEFT$(A$,1):IFA$=E$THEN120
130 IFINSTR(1,A$,"-")<>0 OR INSTR(1,A$,"/")<>0THEN120
140 E$=A$
150 FORX=LEN(A$)TO3STEP-1
160 IFLEFT$(A$,X)=LEFT$(H$,X)THEN210
170 NEXTX
180 IFH$=""THEN190ELSEPRINT#2,""
190 L=0:PRINT#2,A$;:L=LEN(A$)
200 PRINT@280,A$" ";:H$=A$:GOTO120
210 IFL>245THEN180ELSEK$=CHR$(128+X)+RIGHT$(A$,LEN(A$)-X):PRINT#2,K$;:L=L+LEN(K$):GOTO200
220 CLOSE:PRINT@240,"Phase 4 Replacing :ZD"+N$:OPEN"SCWRK"FORINPUTAS1:OPEN":ZD"+N$FOROUTPUTAS2
230 IFEOF(1)=0THENLINEINPUT#1,A$:PRINT#2,A$:GOTO230
240 CLOSE:BEEP:PRINT"Dictionary Complete":LOAD":cmpres
10 'Spell Checker By Patrick Ellison
20 '(C)1989 ALL RIGHTS RESERVED
30 'I grant a software licenc