Hi All...

I have a stack that reads a text file and puts that text in a card fld. It works in 4.0, but when I open the same stack in 4.5 LiveCode it does not work?


Here is the simple script:

on openStack
   put the defaultFolder into tFilePath
   open window "data" of stack "Data"
   put tFilePath&"/"&"imageData" into tTargetToOpen
   open file tTargetToOpen
   read from file tTargetToOpen until EOF
   put it into cd fld "data" of cd 1 of Stack "data"
end openStack


What am i missing here for this not to work in 4.5?

Thank you!

John Patten
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to