Trying a custom handler for several math fields

Vaughn Clement vclement at gmail.com
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)
*http://www.appsbyvaughnclement.com/tools/home-page/*
Skype: vaughn.clement
https://secure.join.me/appsbyvclement
FaceTime: vclement at gmail.com
LogMeIn also avaialble
Call on "ooVoo" at address:  vaughnclement or 9282549062
Ph. 928-254-9062
Cloud Hosting Registration Web Site:
https://my.oditech.com/cart.php?a=add&pid=41


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

> On Thu, Sep 12, 2013 at 7:17 PM, Vaughn Clement <vclement at gmail.com>
> 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  <http://www.google.com/profiles/sbarncar>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list