On 2/3/13 1:08 PM, Richard Gaskin wrote:
Can you think of a circumstance in which you've already specified to read until EOF, and the command executes flawlessly just as you've asked it to, yet you still need to be notified that it reached EOF?
The "read from file" command is a subset of the generic "read" command which also includes reading from sockets and drivers (and by extension, reading from servers.) They all have the same syntax, and in the MC dictionary there's only one listing for them all. Because they are the same command internally, they all share the same values in the result.
In the case of sockets and drivers it is possible to read without error but not receive all the data due to communication issues. In that case you'd want to know if the read had paused or had really finished.
-- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode