Re: [fossil-users] Divide and Mod by 0 in th1

2013-06-20 Thread Stephan Beal
On Thu, Jun 20, 2013 at 9:40 AM, Eduardo Morras emorr...@yahoo.es wrote: set a = [expr 231%0 ] If Run TH1 is pressed, fossil crash. Stephen, check your th1 fork too. LOL! Thanks for the head's up - just last night, coincidentally, i fixed this same problem in my conceptual fork of th1.

Re: [fossil-users] Divide and Mod by 0 in th1

2013-06-20 Thread Stephan Beal
On Thu, Jun 20, 2013 at 9:40 AM, Eduardo Morras emorr...@yahoo.es wrote: case OP_DIVIDE: iRes = iLeft/iRight; break; case OP_MODULUS: iRes = iLeft%iRight; break; The error message isn't the best, but it's fixed now: set a = [expr 231/0 ] Divide by 0: 231