Thanks for the compliment, but Tom's also correct -
There's no need to use 'value'
(Director automatically converts for you)

& I get the expected value either way

-Buzz

At 2:34 PM -0700 8/10/02, you wrote:
>try using: the value of field
>
>instead of: the text of field
>
>reason:
>the text of field is a string
>the value of field is the number
>
>you want to add, so you need numbers
>
>hth
>
>-Buzz
>
>At 5:12 PM -0400 8/10/02, you wrote:
>>I am using the following script to add the text of field and I am getting
>>some crazy numbers.
>>
>>on mouseUp
>>   put the text of field "Cost1" + the text of field "Cost2" into field
>>"Total"
>>   updateStage
>>end
>>
>>The field "Cost1" is 27935 and the field "Cost2" is 5500 and field "Total is
>>showing 1236921976.0000
>>
>>What am I doing wrong here?
>>
>>Thanks in advance,
>>
>>George Carlile
>>[EMAIL PROTECTED]
>>
>>[To remove yourself from this list, or to change to digest mode, go 
>>to http://www.penworks.com/lingo-l.cgi  To post messages to the 
>>list, email [EMAIL PROTECTED]  (Problems, email 
>>[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
>>programming Lingo.  Thanks!]
>
>[To remove yourself from this list, or to change to digest mode, go 
>to http://www.penworks.com/lingo-l.cgi  To post messages to the 
>list, email [EMAIL PROTECTED]  (Problems, email 
>[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
>programming Lingo.  Thanks!]

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to