home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1996 August / WPCAUG96.ISO / makers / body / bodymain.dir / 00353.ls < prev    next >
Encoding:
Text File  |  1996-06-12  |  660 b   |  28 lines

  1. on GoBodyDatabase
  2.   global gDataPath, gMakerNum, CurFrame, gWhichMov, goto
  3.   set name to CurFrame
  4.   set num to Bsearch(name, "MakerList")
  5.   if num > 0 then
  6.     set the movieRate of sprite 15 to 0
  7.     cursor(4)
  8.     set gMakerNum to num
  9.     GetPaths()
  10.     set gWhichMov to the movieName
  11.     set goto to marker(0)
  12.     GoMovie(gDataPath & "BODY.DIR", "database")
  13.   end if
  14. end
  15.  
  16. on GetPaths
  17.   global gDataPath
  18.   if the machineType = 256 then
  19.     set delim to "\"
  20.     set the itemDelimiter to delim
  21.   else
  22.     set delim to ":"
  23.     set the itemDelimiter to delim
  24.   end if
  25.   set drive to item 1 of the pathName
  26.   set gDataPath to drive & delim & "DATABASE" & delim
  27. end
  28.