Joelgranados / EcoIP

Scripts to Analyze Color Data
GNU General Public License v3.0
4 stars 0 forks source link

create an error function #17

Closed Joelgranados closed 12 years ago

Joelgranados commented 12 years ago

function(message) {cat (message); return(1)}

and then we can use it like this: if (somthing bad) {return(function("error message"))}