Trying a custom handler for several math fields

Vaughn Clement vclement at
Fri Sep 13 11:54:28 EDT 2013

Hi All

Well my first attempt ever to use a custom handler (OK :- (

Well I thought I understood what to do, but as things go I didn't get the
expected result:

In the card control field,  I put this pass call;

on doMath
   pass doMath
end doMath

in the card script I put this script;

on doMath
   put field "Loan Balance 1" + field "Loan Balance 2" into field "Loan
Balance Total"
   -- set the numberFormat to "#.00" -- dollar format testing to see if it
worked "No"
end doMath

The fields both had the pass call to send the math to the card handler.

Thank you

Vaughn Clement

Apps by Vaughn Clement (Support)
Skype: vaughn.clement
FaceTime: vclement at
LogMeIn also avaialble
Call on "ooVoo" at address:  vaughnclement or 9282549062
Ph. 928-254-9062
Cloud Hosting Registration Web Site:

On Thu, Sep 12, 2013 at 7:30 PM, stephen barncard <
stephenREVOLUTION2 at> wrote:

> On Thu, Sep 12, 2013 at 7:17 PM, Vaughn Clement <vclement at>
> wrote:
> > The same thing happened when I used a
> > comma for the divider of hundreds. So that kills the scripts. I did not
> > find anything that tells you how to solve this? I tried the dictionary
> for
> > answers but nothing was doing it!
> >
> strip the offending characters before calculating, then put them back.
> --
> Stephen Barncard
> San Francisco Ca. USA
> more about sqb  <>
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:

More information about the Use-livecode mailing list