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. :)

Suscribe Now!Subscribe to get free latest updates by email. Like Us!Like our Facebook Page.


LIKE It & Leave A Comments

One Response to Text Append

  1. nice.. thank you, maybe i must hear for your next lesson.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>