At 12:13 PM -0700 3/18/03, you wrote:
Hi. I have a question regarding the way in which one can display a number stored as a variable in a text field.
Example.
a = 1.5
b = 2.0
c = (A+B)

if you have created a #text or #field member and placed it on the stage then


member("textMember").text = string(c)
member("fieldMember").text = string(c)

-- this way c is still an int & can be manipulated further.

btw: if you want to extract an int from a text or field member then you can do this

d = value(member("textMember").text)
e = value(member("fieldMember").text)

hth
-Buzz

member("MyTextBox").int c
?
I know that this does not work, but I am wondering how could one display the numerical value of variable c in a text field?
THX




Kevin Pyatt
Ponderosa High School
Chemistry Teacher
Multimedia Developer/Instructional Designer

Scientific Creations
Business line:303.829.8960
www.scientificcreations.com




_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus


[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