Adding values to a list


i want add values start of list , without overwriting anything

i.e want push values down list , add new 1 @ top

 

i have used addat function overwrites 1st value

 

any suggestions ?

jsmith657 wrote:

 

i want add values start of list , without overwriting anything

i.e want push values down list , add new 1 @ top

 

i have used addat function overwrites 1st value

 

any suggestions ?

 

  mylist = [3, 2, 4, 5]

  mylist.addat(1,7)

  put mylist

  -- [7, 3, 2, 4, 5]

 

cheers



More discussions in Director


adobe

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account