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         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



On July 15, 2017 9:25:35 AM Roger Eller via use-livecode <use-livecode@lists.runrev.com> wrote:

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

--
 Mark Wieder
 ahsoftw...@gmail.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

Reply via email to