Field calculations

Mark Schonewille m.schonewille at
Wed Sep 11 14:48:39 EDT 2013


put fld 1 + fld 2 into fld 3
put fld "bla" + fld "foo" into fld "bar"

Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
KvK: 50277553

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other 
colour spaces.

Buy my new book "Programming LiveCode for the Real Beginner"

Fill out this survey please

On 9/11/2013 19:26, Vaughn Clement wrote:
> Hi All
> After entirely to many hours of research trying to get a reference location
> for scripting simple field calculations, and also testing scripts I need
> some veteran help.
> I am a database developer so I am new to LiveCode. I used the dictionary
> trying to do the following but the Hypertalk script approach is not clear.
> I simply want to take one field and use a math operator to say add two
> fields together and put the result into a third field.
> Example: Loan amount + loan fees = Sum amount of loan
> I might want to add 3 fields together and then subtract a different field
> from the sum of the 3 fields.
> Or take a loan percentage * the Loan amount to get the amount of interest
> Thank you
> Vaughn Clement

More information about the Use-livecode mailing list