Kaya 0.5.3 reference for HTMLDocument::addList

List of functions and data types in HTMLDocument

ElementTree addList(ElementTree parent, ListType ltype, Int initialsize, [String] initialcontents=createArray(1))

Arguments

Usage

Add a list to the parent element. Lists may only directly contain list items.

steps = ["Catch flamingo","Place flamingo in pan","Boil for 3 hours"];
list = addList(parent,Ordered,3,steps);

Related

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya