home *** CD-ROM | disk | FTP | other *** search
/ Cocktail Hour / image.iso / TRIVIAEX.CST / 00036_wordTester.ls < prev    next >
Encoding:
Text File  |  1996-03-04  |  333 b   |  14 lines

  1. on mouseUp
  2.   global gHyperWords
  3.   
  4.   put the mouseWord into clickedWord
  5.   if listP (gHyperWords) then
  6.     if getPos (gHyperWords, clickedWord) <> 0 then
  7.       hyperCall word clickedWord of field the mouseCast
  8.     else 
  9.       alert word clickedWord of field the mouseCast
  10.     end if
  11.   else 
  12.     alert string (clickedWord)
  13.   end if
  14. end