• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part XI: Appendixes > addAtList Command

addAtList Command

Adds an item to a linear list at a specific location.

list = [1,2,3]
put list
— [1, 2, 3]
addAt list, 2, 99
put list
— [1, 99, 2, 3]
list.addAt(4,999)
put list
— [1, 99, 2, 999, 3]


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint