On 07/15/2017 09:24 AM, J. Landman Gay via use-livecode wrote:
It errored with "can't find object" and crashed my dryer. :-(

that's because there's no a 'catch' clause.

try
  open dryer
  get socks
catch missingSock
  put missingSock into dryer
finally
  close dryer
end try


--
Jacqueline Landman Gay         |     [email protected]
HyperActive Software           |     http://www.hyperactivesw.com



On July 15, 2017 9:25:35 AM Roger Eller via use-livecode <[email protected]> wrote:

try
   open sock for write
   write sock until EOS -- (end of sock)
   close sock
end try

--
 Mark Wieder
 [email protected]



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

Reply via email to