Code: Select all
on importText
global tDataLoad
open file "downloader.ini" for read
read from file "downloader.ini" until eof
put it into tDataLoad
close file "downloader.ini"
end importText
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Code: Select all
on importText
global tDataLoad
open file "downloader.ini" for read
read from file "downloader.ini" until eof
put it into tDataLoad
close file "downloader.ini"
end importText
Code: Select all
on importText
global tDataLoad
if there is a file "downloader.ini" then
put url("file:" & "downloader-ini") into tDataLoad
## See, just ONE line :-)
else
## do your else thing
end if
end importText