URL File extra spaces

Thomas McGrath III mcgrath3 at mac.com
Sat Mar 9 09:45:17 EST 2013


I am getting back an extra space between each character when getting the contents of a file. Any ideas how this is happening? Why? How to fix it?


The text in the file is:
09-03-2013 09:01:16 F3 F3 F3 

and the text I am getting back with extra spaces:
0 9 - 0 3 - 2 0 1 3   0 9 : 0 1 : 1 6   F 3   F 3   F 3

Here is the code:

function TAGetEvent
          put URL  ("file:" & (specialFolderPath("Support") & slash & "KeyTrapper" & slash & "Events.txt")) into tFile
          return  tFile
end TAGetEvent



Thanks,

Tom

-- Tom McGrath III
http://lazyriver.on-rev.com
mcgrath3 at mac.com




More information about the Use-livecode mailing list