Readfile returns nothing
Moderators: JRL, Dorian (MJT support)
Readfile returns nothing
I am trying to read in a JSON output file from CURL. It's 45k Readfile simply returns a blank line in the variable watch list. The variable does not get created. I have tried changing the directory of the file, renaming the file etc. It cannot open it. I had this happen before but I can't recall the solution. Thanks
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Readfile returns nothing
Very long lines may look blank in the watchlist. But the data is there. If you were to output it you should see it:
Do something like this and see if you see the text:
ReadFile>file,theData
MessageModal>theData
Do something like this and see if you see the text:
ReadFile>file,theData
MessageModal>theData
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?