/N/M) ?")
(setq q(char-code(read-char)))
(when (or(= q 77)(= q 109)) (close g)(close f)(read-line)(encyc A$ C$)) ;M m
(FORMAT T "\nQUESTION Q= ~A RL= ~A TTLS= ~A TTLE= ~A " q rdln ttls ttle)(read-line)
(unless (or(= q 78)(= q 110)) ;N n
(setq zz nil q 89 d 't) ;Y=89
(FORMAT T "\nUNLESS Q= ~A RL= ~A TTLS= ~A TTLE= ~A " q rdln ttls ttle)
(read-line)
(while (rdlnfs)
(setq rdln(read-line f))
(FORMAT T "\nWHILE Q= ~A RL= ~A TTLS= ~A TTLE= ~A " q rdln ttls ttle)
(read-line)
(pr rdln)
)
(setq rdln(read-line f))
(setq ttle(file-position f))
))
(when d
(file-position g ttls)
(princ "*\n" g)
(FORMAT T "\nLOOP Q= ~A RL= ~A TTLS= ~A TTLE= ~A TTLA= ~A "
q rdln ttls ttle ttla)(read-line)
(pr " WRITING FILE! \n")
)
(princ (strcat rdln "\n") g)
(setq rdln(read-line f))
)
(princ "\nZZZZZZZ\nEOF\n" g)
(princ "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n" g)
(princ "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n" g)
(close g)(close f)
(when (= q 89)
(editfile)
(file-position g ptrg)
(file-position f ptrf)
(setq rdln(read-line f))
(setq zz 't ttle 0 ttls 0)
(while rdln
(princ (strcat rdln "\n") g)
(setq rdln(read-line f))
))
(pr "END-OF-FILE <")(princ el)
(if(= q 89)(princ "> FILE ERASED!\n")(princ "> FILE NOT FOUND!\n"))
(pr " DONE, HIT ENTER!\n")(read-line)
(close g)(close f)(encyc A$ C$)
))
(t ;D DRAW
(progn
(defun dr(x);;degree/radians
(setq z(*(/ x 180) pi))
)
(setq ry '(;;direction ray to add
(0 0 0);nil
(1 1 0);E
(2 1 -1);SE
(3 0 -1);SOUTH
(4 -1 -1);SW
(5 -1 0);WEST
(6 -1 1);NW
(7 0 1);NORTH
(8 1 1);NE
(10 2 3);OFFSET 1
(11 -3 -4);OFFSET 2
(12 10 19);OFFSET 3
(13 -6 -21);OFFSET 4
(14 -9 -10);OFFSET 5
(15 0 3)
(16 0 -3)
(17 2 -2)
))
(defun frml(x y);;formula application
(move x y);;col x row y
(do((i 0(1+ i)))((> i(-(length ln)1)))
(setq n(car(subseq ln i(1+ i))))
(setq xy(cdr(assoc n ry)))
(setq x(car xy) y(cadr xy))
(if(< n 9)(drawrel x y)(moverel x y))
))
(defun stp(x y z);;setup
(mode 4) ;mode 4/5 14-16EGA600x200 18-16VGA 19-256VGA ?ah=4 int10
(system "border.com") ;if doesn't give a border your config.sys is wrong
(color 15)
(goto-xy x y) ;col row 40x24 TEXT
(princ z)
)
(stp 24 12 "HI");;(goto-xy 24 12) ;col row 40x24 TEXT;;(print "HI")
;;border
(move 0 0)
(drawrel 20 0)
(drawrel 0 20)
(drawrel -20 0)
(drawrel 0 -20)
(move 319 0)
(drawrel 0 20)
(drawrel -20 0)
(drawrel 0 -20)
(drawrel 20 0)
(move 319 199)
(drawrel -20 0)
(drawrel 0 -20)
(drawrel 20 0)
(drawrel 0 20)
(move 0 199)
(drawrel 0 -20)
(drawrel 20 0)
(drawrel 0 20)
(drawrel -20 0)
(move 1 1)
(drawrel 317 0)
(drawrel 0 197)
(drawrel -317 0)
(drawrel 0 -197)
;;1 large rectangle
(move 4 4) ;;x=5 y=10 bottom left corner GRAPHIC
(draw 14 14) ;;x,y
(drawrel 10 0);;x,y
(drawrel 0 10)
(drawrel -10 0)
(drawrel 0 -15)
;;2 small square
(move 305 185) ;;x y
(drawrel 4 0)
(drawrel 0 6)
(drawrel -4 0)
(drawrel 0 -6)
;;3;;moto
(setq x0 30 y0 170 r 11 a 20)
(move x0(+ y0 r 5))
(draw x0(- y0 r 5))
(drawrel(/ r -1) 0)
(drawrel(round(* 60(cos(dr 45)))1)(round(* 60(sin(dr 45)))1))
(move x0(- y0 r 5))
(drawrel r 0)
(drawrel(round(* 30(cos(dr 135))))(round(* 30(sin(dr 135)))))
;;4
;;circle
;;(setq x0 30 y0 170 r 11 a 20)
(move x0 y0)
(setq c 8 d 11 e(/ d c))
(do((i(/ c -1)(+ 0.1 i)))((> i c))
(setq p1(round(+ x0 i)1) p2(- y0(round(* e(sqrt(-(* c c)(* i i))))1)))
(draw p1 p2)
)
(do((i(/ c -1)(+ 0.1 i)))((> i c))
(setq p3(round(+ x0 i)1) p4(+ y0(round(* e(sqrt(-(* c c)(* i i))))1)))
(draw p3 p4)
)
;;;5
;;(setq x0 30 y0 170 r 11 a 20)
;;(move(+ x0 r) y0)
(setq x0 100 y0 100)
(move x0 y0)
(setq c 8 d 12)
(do((i 0(+ 0.3 i)))((> i(dr 369)))
(setq p1(+ x0(round(* r(cos i))1)) p2(+ y0(round(* r(sin i))1)))
(draw p1 p2)
)
;;6
(setq x0 200 y0 100)
(move x0 y0)
(setq c 14 d 21 e(/ d c))
(do((i(/ c -1)(+ 0.3 i)))((> i c))
(setq p1(round(+ x0 i)1) p2(- y0(round(* e(sqrt(-(* c c)(* i i))))1)))
(draw p1 p2)
(setq p3(round(+ x0 i)1) p4(+ y0(round(* e(sqrt(-(* c c)(* i i))))1)))
(draw p3 p4)
)
;;7
(setq ln '(
3 5 3 5 2 5 2 1 1 5 2 1 1 1 1 7 1 1 7 1 6 1 7 1 6 1
7 1 6 1 6 1 7 1 6 1 6 1 7 1 6 1 6 1 7 1 6 1 7 1 6 1 6 1 7 1 6
1 7 1 7 1 7 1 7 1 7 1 7 1 7 1
5 3 5 3 5 4 1 4 1 4 1 4 1 4 1 1 4 1 4 1 4 1 4 1 4 1 4 1 1 4 1
4 1 4 1 4 1 4 1 4 1 1 4 1 4 1 4 1 4 1 4 1 4
8 7 7 1 6 1 7 1 6 1 6 1 7 1 6 1 6 1 7 1 6 1 7 1 6 1 6 1 7 1 6
1 6 1 7 1 6 1 7 1 6 1 7 1 7 1 7 1 7 1 6 1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8 8 8 7 8 7 10 7 1 4 11 3 4 3 3 3 2 1 1 8 1 ;;i
;;15
8 8 8 8 8 8 7 7 5 5 4 4 3 3 3 2 1 1 8 1 ;;e
;;16
8 8 8 8 7 7 8 7 7 8 7 7 8 7 7 8 7 7 8 7 7 8 14 8 1 1 8 1 1 8
1 1 8 1 1 8 14 3 3 3 3 3 2 1 2 1 2 1 2 ;;t
;;17
4 5 4 5 4 5 5 4 5 4 5 4 5 5 4 5 4 5 5 4 5 4 5
5 4 5 4 5 5 4 5 4 5 4 5 5 4 5 4 5 5 4 5 4 5
5 4 5 4 5 5 4 5 4 5 4 5 5 4 5 4 5 5 4 5 4 5
5 4 5 4 5 5 4 5 4 5 4 5 5 4 5 4 5 5 4 5 4 5
5 4 5 4 5 5 4 5 4 5 4 5 5 4 5 4 5 5 4 5 4 5
5 4 5 4 5 5 4 5 4 5 4 5 5 4 5 4 5 5 4 5 4 5
5 4 5 4 5 5 4 5 4 5 4 5 5 4 5 4 5 5 4 5 4 5
5 4 5 4 5 5 4 5 4 5 4 5 5 4 5 4 5 5 4 5 4 5 ;line
14
;;18
1 1 6 1 6 1 6 1 6 5 1 1 1 1 1 1 5 4
1 4 1 3 1 3 1 ;pie
17
8 8 8 8 8 8 8 8 8 ;/
17
1 1 1 1 3 4 4 4 3 ;7
))
(move 18 80);;picsel x,y right,up
(frml 18 80)
(defun rstr(x y);;restore
(color 7)
(goto-xy x y) ;col x row y 40x24
(print "HIT ENTER TO EXIT!")
(read-line)
(mode 3)
(encyc "a.dat" " º º")
)(rstr 18 12)
))) ;;A$ B$
);; (encyc "a.dat" " º º")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
--c:\n\nic6\lisp\ency\data.lsp--
(setq filelist '(
"a"
"b"
"br"
"s"
"sto"
"x"
"y"
"z"
))
(setq filename '(
a
b
br
s
sto
x
y
z
))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
--c:\n\nic6\lisp\ency\a.lsp--
(setq data '(
(
"a"
"The first letter of the English alphabet
Before vowel sounds it becomes 'an'
Any sound represented by the letter a
symbol: Primacy in class
A substitute for the numeral 1
Music: The first note in the related minor scale
A written note representing this tone
The scale built on A
The scale built upon A
Chemical: Argon
indefinite article or adjective: In each ; to each; for each; $1 a bushel
One ; any; some; each;expressed singleness
Used: Before a noun: 'a bird'; 'a hope'
Before an abstract noun: 'to show a kindness'
Before a collective noun: 'a crowd'
Before a proper noun: 'He is a Hercules in strength'
Before a plural nouns with few, great many, etc.: 'a few books'
After on, at, or of,etc.: 'birds of a feather'
prefix: in, on, at: aboard, asleep, agog, agoing
up, on, away: arise, abide
of, from: athirst, akin, anew
without, not: achromatic / apart from, unconcerned with: amoral
Reduced var. of ab: off;from;away: absolve, abduct, abrogate
Reduced var. of ad: to, toward near: adhere"
)
(
"aardvark"
"A burrowing, ant-eating African mammal"
)
(
"aardwolf"
"A hyenalike mammal of Africa"
)
(
"aaron"
"The first high priest of the Hebrews, older brother of Moses"
)
(
"ab"
"see 'a'"
)
(
"Ab"
"The eleventh month of the Hebrew year. See CALENDAR"
)
(
"abaca"
"A banana plant of the Philippines
The inner fiber of this plant, used for cordage"
)
(
"aback"
"nautical: Back against the mast: said of sails so blown by the wind
taken aback: Disconcerted, as by a sudden check"
)
(
"abacus"
"A calculator with sliding counters
Achit: A slab forming the top of a capital
abax: counting table"
)
(
"abaft"
"Toward the stern; aft
prep. Further aft than; astern of"
)
(
"abalone"
"An edible shellfish having a shell lined with mother-of-pearl"
)
))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
--c:\n\nic6\lisp\ency\b.lsp--
(setq data '(
(
"b"
"The second letter of the English alphabet
The sound represented by the letter b
symbol: music:
One of a series of notes, the 7th in the natural diatonic scale of C
A written note representing it
A scale built upon B
chem: Boron
The second in sequence, etc."
)
(
"baa"
"A bleat of a sheep"
)
(
"baal"
"Any of several ancient Semetic gods of fertility and flocks;
esp., the sun god of the ancient Phoenicians
An idol or false god"
)
(
"babbitt"
"To line, fill, etc. with Babbitt metal"
)
(
"Babbitt"
"A type of conventional American businessman who is mediocre and smug;
philistine"
)
(
"Babbit metal"
"A soft, white, antifrictional alloy of tin, copper, and antimony
Any group of similar alloys"
)
(
"babble"
" -bled -bling
vi.:
To utter inarticulateor meaningless sounds
To make a murmuring or rippling sound, as a stream
To talk unwisely or foolishly
vt.:
To utter unintelligibly
To blurt out thoughtlessly
n.
Inarticulate or confused speech
Prattle, as of an infant
A murmuring or rippling sound"
)
(
"babe"
"An infant; baby
An artless or inexperienced person
Slang girl"
)
(
"babel"
"A confusion of many voices or languages; tumult"
)
(
"Babel"
"In thr Bible, an ancient city in Shinar, now identified as Babylon
Tower of Babel: A tower begun in Babel by the decendants of Noah and intended
to reach heaven, but abandoned"
)
))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
--c:\n\nic6\lisp\ency\br.lsp--
(setq data '(
(
"bra"
"A brassiere"
)
(
"brace"
"v. braced, bracing
vt. 1. To make firm or steady; strengthen by or as by braces
2. To make ready to withstand pressure, impact, assault, etc.
3. To increase the tension of; strain
4. To tie or fasten firmly, as with straps
5. To stimulate; enliven
vi. 6. To strain against pressure 'to brace up'
informal To rouse one's courage or resolution
n. 1. A support, as of wood or metal, used to strengthen something or hold it in place
2. A clasp or clamp for fastening, connecting, etc.
3. A cranklike handle for holding and turning a bit or other boring tool
4. A pair or couple
5. In printing '{' or '}' or in music used to connect staves of music
6. pl. Brit. suspenders
7. Often pl. dent. A wire(s) worn on teeth and used to align them
8. med. Any of a various devices for supporting a joint, limb, or other
part"
)
(
"bracelet"
"n. 1. An ornamental band worn around the wrist or arm
2.informal A handcuff"
)
(
"bracer"
"n. 1. One who or that which braces or steadies
2. U.S. informal A stimulating drink"
)
))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
--c:\n\nic6\lisp\ency\s.lsp--
(setq data '(
("saint" "
n. 1. A holy or godly person.
2. In certain churches, such a person who has died and been canonized.
3. Any one of the blessed in heaven.
4. A very patient, unselfish person.
v.t. To canonize; venerate as a saint.
adj. Holy; canonized")
("Saint Bernard" "A working dog of great size and strength, characterized
by a massive head, and thick, white, red, or brindled coat, used to rescue
travelers by the hospice at Great St. Bernard Pass in the Swiss Alps.")
("Saint Patrick's Day" "March 17, a day traditionally celebrated by the Irish
in honor of their patron saint")
("Saint Valentine's Day" "February 14, the anniversary of the beheading of
St. Valentine by the Romans, and also a day when valentines are exchanged")
))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
--c:\n\nic6\lisp\ency\sto.lsp--
(setq data '(
(
"Stone Age"
"The earliest known period in human culture when stone implements
and weapons were used"
)
(
"Stonehenge"
"A prehistoric structure on Salisbury Plain, England, consist-
ing primarily of great circles of huge, dressed stone"
)
))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
--c:\n\nic6\lisp\ency\x.lsp--
(setq data '(
(
"Xena"
"'WarRior princess' played by LUCY LAWLESS"
)
(
"Xenia"
"city, sw cen Ohio"
)
))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
--c:\n\nic6\lisp\ency\y.lsp--
(setq data '(
(
"Yakima"
"city, s Washington"
)
(
"Yalta"
"city, s Crimea"
)
(
"Yalu"
"river betw. ne China and Korea"
)
(
"Yangtze"
"river flowing from Tibet to the East of China Sea"
)
))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
--c:\n\nic6\lisp\ency\z.lsp--
(setq data '(
(
"Zagreb"
"city, cen. Croatia, Yugoslavia; cap."
)
(
"Zaire"
"republic cent. Africa -cap. Kinshasa"
)
(
"Zambizi"
"river, S. Africa"
)
(
"Zambia"
"republic, S CEN Africa -cap. Lusaka"
)
(
"Zanesville"
"city, se cen Ohio"
)
(
"Zanzibar"
"reg. of Tanzania off the coast of E. Africa"
)
(
"Zealand"
"isl. of Denmark betw. the Kattegat and the Baltic Sea"
)
(
"Zion"
"city ne Illinois"
)
(
"Zululand"
"dist., ne Natal, S Africa"
)
(
"Zurich"
"canton, ne Switzerland"
)
(
"Zuyder Zee"
"former shallow inlet of the N. Sea, nw Netherlands Lake Ijssel"
)
))
HOME PAGE
You are visitor no.
to this page.