I came across http://exercism.io/about
It's an interesting site for developers to improve their skills with simple problems and organized peer review. One of the simpler challenges is writing a function to return whether a year is a leap year. I wrote this: function isLeapYear Y return Y mod 4 = 0 and (Y mod 100 > 0 or Y mod 400 = 0) end isLeapYear If you wanted to be accepting of bad data you could: function isLeapYear Y return Y is a number and Y mod 4 = 0 and (Y mod 100 > 0 or Y mod 400 = 0) end isLeapYear _______________________________________________ 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