home *** CD-ROM | disk | FTP | other *** search
HyperBook | 1994-03-26 | 23.8 KB | 413 lines |
- ^list = searchname('1:','Word list')
- n = clone(searchname('0:','Template'),'0:')
- call setposition(n, 320, 120)
- cr = '0a'X
- form = 'Word:' || cr || 'Part of speech:n' || cr || 'Definition:'
- define = inputform('Enter definition', form)
- if define = '' then exit
- parse var define name '0a'X part '0a'X def
- call setname(n, name)
- yy = searchnote(n, 'Y', 0)
- zz = searchnote(n, 'Z', 0)
- call replacetext(n, def, zz, 1)
- call replacetext(n, part, yy, 1)
- call replacetext(n, name, 0, 1)
- call relocate(n, ':')
- it = appenditem(list, name, 1)
- call setactionpage(it, ':')
- call sortlist(list)
- call 'Set title'()
- F1_New definition
- C/* Make clicked on object taller/shorter... taller by clicking on its
- right side; shorter by clicking on its left side.
- finished = 0
- do while finished = 0
- y = getclickrow('Left = smaller, right = bigger; click page to end')
- x = getcolumn()
- if x = 0 then
- call prevpage()
- else if x = 639 then
- call nextpage()
- else do
- ob = getobjectat(x,y)
- if ob = '' then
- finished = 1
- else do
- L = getleft(ob)
- W = getwidth(ob)
- M = L + W / 2
- H = getheight(ob)
- if x < M then do
- if H > 41 then
- call scaletosize(ob, 300, 41 + 9 * ((H - 42) % 9))
- end
- else do
- if H < 185 then
- call scaletosize(ob, 300, 41 + 9 * ((H - 32) % 9))
- end
- end
- end
- end
- F2_Set word heights
- left = 15
- top = 11
- pg = getpage(':')
- call interactive(0)
- do i = 1 to numelements(pg)
- ob = pg || i
- if gettype(ob) ~= 'Button' then do
- call setposition(ob,left,top)
- top = top + getheight(ob)
- if top > 190 then do
- top = 11
- left = 325
- call setposition(ob,left,top)
- top = top + getheight(ob)
- end
- top = top + 1
- end
- end
- F3_Organize page
- /* Delete a definition */
- ob = inputobject('Select word to delete')
- list = searchname('1:', 'Word list')
- if ob = '' then EXIT
- it = searchitems(list, getname(ob))
- if it ~= '' then call delete(it)
- call delete(ob)
- call 'Set title'()
- F4_DeleteDefinition
- init = readnotetext(initiator(),0,1)
- pg = searchpagename('2:',readnotetext(initiator(),0,1))
- call callpage(pg)
- call PageEntryMacro
- Look up initial()
- list = searchname('1:','Word list')
- note = searchname('1:','Title')
- call cleartext(note)
- call inserttext(note, numelements(list) ' Curious Words', 0)
- Set title()
- /* Page entry macro moves MagicReturnButton to current page */
- if sequencenumber(currentpage()) > 1 then do
- btn = searchname('1:','MagicReturnButton')
- call relocate(btn, ':')
- end
- PageEntryMacro
- Test Notebook
- Group1
- "A->"
- "B->"
- "C->"
- "D->"
- "E->"
- "F->"
- "G->"
- "H->"
- "I->"
- "J->"
- "K->"
- "L->"
- "M->"
- "N->"
- "O->"
- "P->"
- "Q->"
- "R->"
- "S->"
- "T->"
- "U->"
- "V->"
- "W->"
- "X->"
- "Y->"
- "Z->"
- Group2
- %HB_Samples:Applications/WordsHelp.txt
- Drawing1
- Note1
- "Word list"
- apophthegm
- arris
- averruncator
- barouche
- belvedere
- blewits
- calyx
- chignon
- coulter
- cullet
- demijohn
- desuetude
- electuary
- eleemosynary
- exiguous
- expatiate
- expiate
- factitious
- faggot
- fascicle
- feckless
- fenks
- fipple
- funicular
- geminate
- glacis
- glair
- glanders
- grampus
- gravamen
- hayward
- hebdomadal
- ichneumon
- indite
- ineluctable
- irrecusable
- jejune
- jeroboam
- jezail
- kedgeree
- kelson
- lexis
- lustrate
- mangel-wurzel
- marram
- mattamore
- megrim
- meretricious
- mimbar
- minatory
- negus
- nictitate
- nugatory
- nutria
- oakum
- orrery
- otiose
- palimpsest
- patulous
- pledget
- preciosity
- quern
- quinsy
- realgar
- rebarbative
- reduit
- seneschal
- sepal
- smolt
- spitchcock
- tercel
- theroid
- toxophilite
- trichology
- triforium
- undercroft
- uxorious
- vaticinate
- vitiate
- volute
- waterbrash
- Xenophon
- xystus
- zenana
- "Title"
- 89 Curious Words
- "Preface"
- A book of words and their definitions,
- drawn from the expanded edition of
- Oxford Paperback Dictionary
- (1988) and
- The Concise Oxford Dictionary
- (1973).
- "74 curious words"
- "averruncator"
- averruncator,
- instrument for cutting off
- branches of trees high above
- head.
- "arris"
- arris,
- the sharp edge formed where
- two surfaces meet to form an
- angle, especially in architecture.
- "apophthegm"
- apophthegm,
- a terse or pithy saying.
- ize.o
- "buhl"
- buhl,
- inlaid work of brass,
- tortoiseshell, etc.
- "blewits"
- blewits,
- an edible mushroom with a mauve
- stem.
- "belvedere"
- belvedere,
- a raised turret or summer-house
- from which to view scenery.
- "barouche"
- barouche,
- four-wheeled carriage with
- collapsible half-head, for four
- occupants and driver.
- RDmacro.o RDeff
- "cullet"
- cullet,
- broken glass added to new
- material in glass-making.
- "chignon"
- chignon,
- a knot or roll of long hair, worn
- at the back of the head by
- women.
- "coulter"
- coulter,
- iron blade fixed in front of
- share in plough.
- Group1
- "calyx"
- calyx,
- n. (pl.
- calyces
- a ring of leaves (
- sepals
- enclosing an unopened
- flower-bud.
- Button1
- ds7.o
- "desuetude"
- desuetude,
- a state of disuse.
- "demijohn"
- demijohn,
- a large bottle in a wicker case.
- <filreq
- "expiate"
- expiate,
- to make amends for (wrongdoing).
- "expatiate"
- expatiate,
- to speak or write about (a
- subject) at great length or in
- detail.
- "exiguous"
- exiguous,
- very small, scanty.
- "electuary"
- electuary,
- medicinal powder etc. mixed with
- honey or syrup.
- "eleemosynary"
- eleemosynary,
- of, dependent on, alms;
- charitable; gratuitous.
- "feckless"
- feckless,
- feeble and incompetent,
- irresponsible.
- "fascicle"
- fascicle,
- each section of a book that is
- published in instalments.
- "factitious"
- factitious,
- made for a special purpose,
- contrived.
- "fipple"
- fipple,
- the plug at the mouth end of a
- wind instrument.
- "faggot"
- faggot,
- 1. a bundle of sticks or twigs
- bound together.
- 2. a ball of chopped seasoned
- liver, served baked.
- 3. (slang) an unpleasant woman.
- "more..."
- more...
- "MagicReturnButton"
- INDEX
- "F1 ..."
- [LIBRARY|
- "funicular"
- funicular,
- a cable railway with ascending
- and descending cars
- counterbalancing each other.
- "fenks"
- fenks,
- n. pl.
- fibrous parts of whale's blubber,
- refuse of blubber when melted.
- "glair"
- glair,
- white of egg; a thick substance
- made of or resembling this.
- "geminate"
- geminate,
- 1. to double, to repeat.
- 2. to arrange in pairs.
- "gravamen"
- gravamen,
- the essence or most serious part
- of an accusation.
- "glacis"
- glacis,
- bank sloping down from fort, on
- which attackers are exposed to
- fire.
- "grampus"
- grampus,
- a large dolphin-like sea animal
- that blows loudly and heavily.
- "glanders"
- glanders,
- a contagious disease of horses
- and related animals.
- "more..."
- more...
- "G ..."
- "ghee"
- ghee,
- Indian buffalo-milk butter
- clarified to resemble oil.
- "hebdomadal"
- hebdomadal,
- weekly.
- "hayward"
- hayward,
- officer of parish etc. in charge
- of fences and enclosures.
- "irrecusable"
- irrecusable,
- that must be accepted.
- "indite"
- indite,
- to put into words, to compose
- and write (a letter etc.).
- "ichneumon"
- ichneumon,
- a mongoose of North Africa etc.
- noted for destroying crocodiles'
- eggs.
- "ineluctable"
- ineluctable,
- that cannot be escaped from.
- "jeroboam"
- jeroboam,
- a wine bottle of 6-12 times the
- ordinary size.
- "jejune"
- jejune,
- 1. scanty, poor, (of land) barren.
- 2. unsatisfying to the mind.
- "jezail"
- jezail,
- long Afghan musket.
- "kedgeree"
- kedgeree,
- a cooked dish of rice and fish or
- eggs.
-