---------------------------------------------------
Nancy Hayfield Birnes, editor in chief

www.futuretheater.com
www.ufomagazine.squarespace.com
www.filamentbookclub.com
www.filamentbooks.com
www.ufomag.com

Visit • Blog • Engage • Read • Subscribe
---------------------------------------------------







On Sep 24, 2010, at 1:46 PM, John Patten wrote:

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
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

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

Reply via email to