Addition-Elementary Style

Gordon Tillman got at mindspring.com
Wed Jan 25 16:09:06 EST 2006


Michael you can do something like this:

Let's suppose your 8 fields are named "f1" through "f8" and you want  
the sum in a field named "f9".  You can say

put (field "f1" + field "f2" + ... + field "f8") into field "f9"

--gordy


On Jan 25, 2006, at 15:03, Michael Mandaville wrote:

> Revolution brothers and sisters,
> On the basis that the most stupid question is the one left unasked,  
> I throw
> myself on the pyre with this question:
>
> I have eight multiple text fields.  Numbers will go into these  
> fields.  I
> want all the numbers to add up and go into the Ninth field.
>
>
> Add field1+field2+field3 [etc.,} and put into field Total
>
> Add field Timeneed + Effort + People [etc.,] and put into field Total
>
>
> I have searched the documentation and tried a dozen syntaxes but  
> can't seem
> to get something as fundamental to work.
>
> Thank you.
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list