Text Append

Most of the time, we use the function “append” in list.

on beginsprite me
list = []
list.append(”A”)
list.append(”BBB”)
end


Then the result of list will be [”A”,”BBB”]

However, director text member also support append function.

on beginsprite me
member(”mytext”).text = “”
member(”mytext”).append(”123″)
end


The text of member(”mytext”) will become “123″. This is useful if you use it with “repeat with” function. :)

Tags: ,
 If you like this post then please subscribe to my full feed RSS.
   Similar Posts:

Leave a Comment

Name (required):

E-mail (will not be published) (required):

Website (optional):

Comment: