home *** CD-ROM | disk | FTP | other *** search
/ Fuji Wa La Te I Ka - Hyakunin Isshu Karuta / KARUTA.bin / wins / library.dir / 00120_Script_120 < prev    next >
Text File  |  1995-11-13  |  3KB  |  76 lines

  1. on startMovie
  2.   global CUL,NoPoHV,kasira
  3.   put "" into field"output"
  4.   put ""&&"" into CUL
  5.   put CUL into  field "CUL_NO"
  6.   put " ╟½╟├Γ├╟¥╟«φT╟╡╟╝╟▌╟⌐┼H" into field"SELECTVIEW"
  7. --  set the textFont of field "CUL_NO" to "osaka"
  8. --  set the textStyle of field "CUL_NO" to "shadow"
  9. --  set the textSize of field  "CUL_NO" to 12
  10. --  set the textFont of field "output" to "╟l╟r ╔S╔V╔b╔N"
  11.   --  put "" into field"output"
  12.   put "" into karutaDB
  13.   put "╟å" into kasira
  14.   put "" into sentakusi
  15.   put "" into syurui
  16.   put "10,475,29" into NoPoHV
  17.   set CT = 0
  18.   put "σⁿτªΩε" && CT into field "SARCH"
  19.   repeat with s = 30 to 32
  20.     puppetSprite s, FALSE
  21.   end repeat
  22.     put "" into field "KEYSELECT"
  23. end
  24.  
  25. on Kensaku
  26.   global karutaDB, kasira, sentakusi, syurui
  27.   put "" into field"SELECTVIEW"
  28.   put "" into field"output"
  29.   put "┼u" & kasira & "┼v╟╝Θn╟ï╟╚" & syurui & "╟╝╟▌┼B"  after field"SELECTVIEW"
  30.   put field"╔f┼[╔^╔x┼[╔X" into karutaDB
  31.   if sentakusi = 2 then
  32.     set CT = 0
  33.     put "σⁿτªΩε" && CT into field "SARCH"
  34.     repeat with n = 100 down to 1
  35.       put line n of karutaDB into checkLine
  36.       if Item sentakusi of checkLine starts kasira then
  37.         set CT = CT + 1
  38.         put Item 1 of checkLine && Item sentakusi of checkLine & RETURN & "┼@┼@┼@┼@" & Item 5 of checkLine & RETURN before field"output"
  39.         put "σⁿτªΩε" && CT into field "SARCH"
  40.       end if
  41.     end repeat
  42.   else
  43.     if sentakusi = 3 then
  44.       set CT = 0
  45.       put "σⁿτªΩε" && CT into field "SARCH"
  46.       repeat with n = 100 down to 1
  47.         put line n of karutaDB into checkLine
  48.         if Item sentakusi of checkLine starts kasira then
  49.           put Item 1 of checkLine && Item sentakusi of checkLine & "┼c┼@" & RETURN & "┼@┼@┼@┼@" & Item 5 of checkLine & RETURN before field"output"
  50.           set CT = CT + 1
  51.           put "σⁿτªΩε" && CT into field "SARCH"
  52.         end if
  53.       end repeat
  54.     else
  55.       if sentakusi = 4 then
  56.         set CT = 0
  57.         put "σⁿτªΩε" && CT into field "SARCH"
  58.         repeat with n = 100 down to 1
  59.           put line n of karutaDB into checkLine
  60.           if Item sentakusi of checkLine starts kasira then
  61.             put Item 1 of checkLine && "┼c" & Item sentakusi of checkLine & RETURN & "┼@┼@┼@┼@" & Item 5 of checkLine & RETURN before field"output"
  62.             set CT = CT + 1
  63.             put "σⁿτªΩε" && CT into field "SARCH"
  64.           end if
  65.         end repeat
  66.       end if
  67.     end if
  68.   end if
  69.   
  70. end
  71.  
  72. on SARCHCUL
  73.   
  74. end
  75.  
  76.