Proper error handling in a setprop

Michael Doub mikedoub at gmail.com
Fri Oct 10 18:35:49 EDT 2014


Can anyone advise me on the options that we have for dealing with errors that are encountered while executing in a setprop?    I was thinking of using set prop to turn on and off the GPIOs on a raspberry pi.   I have commands doing it now and it is working fine.   

Do you throw an error and assume the user is calling the set prop inside of a try statement?   Are there other ways?

Thanks in advance
    Mike





More information about the use-livecode mailing list