I have a directory "dir", in my directory i have two file, myApp.livecode and langue.txt
I want read langue.txt so i do this but it's don't work , i have nothing in my variable texte
Code: Select all
on mouseUp
open file specialFolderPath ("dir/langue.txt") for read
read from file ("dir/langue.txt") until EOF
put it into texte
close file ("dir/langue.txt")
put texte
end mouseUp