This is why we don’t ask cats to do arithmetic! Bob S
> On Oct 27, 2014, at 13:15 , [email protected] wrote: > > Hugh. > > > But this will act the same if t1 contains "0" as well. You are testing the > two cats with arithmetic. When you do that, the result will be the same. > > > > -----Original Message----- > From: FlexibleLearning.com <[email protected]> > To: use-livecode <[email protected]> > Sent: Mon, Oct 27, 2014 4:00 pm > Subject: Re: Is zero the same as empty? > > > As Jacque has pointed out, 'empty' and 'zero' depend on context. When doing > math calculations, I always force a math evaluation... > > If t1 + 0 = 0 then ... > > If t1 is empty it will then always evaluate to zero. > > Might help in your situation. > > Best regards, > > Hugh Senior > FLCo > > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
