The following is brought to you thanks, in part, to the kind assistance of CyberNews and the fine folks at Cornell University.
("Quid coniuratio est?")
666 SEARCHER
' 666 Searcher
' Helps you keep on the lookout for the Beast, whose number is 666
' Public Domain program written by Brian Francis Redman, Editor-
' in-Chief, Conspiracy Nation, June 7, 1995
'
' Compile using QuickBasic 4.5 or may be portable to BASICA
' Example names: try "Kissinger" and "Computer"
CLS
L1% = 0: X1% = 0: X2% = 0: X3% = 0
LOCATE 2, 1
PRINT "Enter name";
Sw1% = 1
WHILE Sw1% = 1
INPUT A$
L1% = LEN(A$)
FOR X1% = 1 TO L1%
X2% = ASC(MID$(A$, X1%, 1)) IF X2% > 90 THEN X2% = X2% - 32 X2% = X2% - 64 X2% = X2% * 6 X3% = X3% + X2%
NEXT X1%
LOCATE 4, 1
PRINT A$; " = "; X3%
B$ = ""
WHILE B$ = ""
B$ = INKEY$
WEND
LOCATE 6, 1
PRINT "Again?"
B$ = ""
WHILE B$ = ""
B$ = INKEY$
WEND
IF B$ <> "Y" AND B$ <> "y" THEN
Sw1% = 0
ELSE
L1% = 0: X1% = 0: X2% = 0: X3% = 0 A$ = "": B$ = "" CLS LOCATE 2, 1 PRINT "Enter name";
END IF
WEND
CLS
LOCATE 2, 1
PRINT "Thank you for using 666 Searcher."
END
I encourage distribution of "Conspiracy Nation."
For information on how to receive the improved Conspiracy Nation Newsletter, send an e-mail message to bigred@shout.net
See also: http://www.europa.com/~johnlf/cn.html
See also: ftp ftp.shout.net pub/users/bigred