home *** CD-ROM | disk | FTP | other *** search
/ Backpacker 1 (Norsk) / backpacker.iso / pc / backpack.exe / backpack.DXR / 00002.ls < prev    next >
Encoding:
Text File  |  1995-11-16  |  399 b   |  18 lines

  1. on FixPath thePath
  2.   if the machineType = 256 then
  3.     set takeAwaySign to ":"
  4.     set putInSign to "\"
  5.     set T to char 1 to 2 of thePath
  6.     repeat with i = 3 to length(thePath)
  7.       set TT to char i of thePath
  8.       if TT = takeAwaySign then
  9.         set T to T & putInSign
  10.         next repeat
  11.       end if
  12.       set T to T & TT
  13.     end repeat
  14.     set thePath to T
  15.   end if
  16.   return thePath
  17. end
  18.