Do you have an earlier line where you have set tMins? If it has never been set, would you export tMins/60 to work?
Aside from that, there was a change in LiveCode 7 or 8, where you could no longer create a variable on the first line that it is used. You need to have declared it earlier on. > On May 11, 2020, at 2:24 AM, AndyP via use-livecode > <use-livecode@lists.runrev.com> wrote: > > I seem to have my posts dropped at the moment hence this, > > I'm seeing the same error > > with > > on mouseUp pMouseButton > put (tMins/60) into tMins > answer tMins > end mouseUp > > button "Button": execution error at line 2 (Operators /: error in left > operand), char 1 > > Interestingly this > > on mouseUp pMouseButton > try > put (tMins/60) into tMins > catch tError > if tError then answer "An Error Occurred;" && tError & return & "tMins =" > && tMins > end try > end mouseUp > > does NOT through an error or a catch error message > > > If however tMins is initialized then all works as expected > > on mouseUp pMouseButton > put 20 into tMins > put (tMins/60) into tMins > answer tMins > end mouseUp > > ??? > > > _____________________________________ > Sent from http://runtime-revolution.278305.n4.nabble.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 _______________________________________________ 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