new TList(value)
List of elements of any data type.
Parameters:
Name | Type | Description |
---|---|---|
value |
number | Array.<Numbas.jme.token> | Either the size of the list, or an array of values. |
Properties:
Name | Type | Description |
---|---|---|
vars |
number | Length of list. |
value |
Array.<Numbas.jme.token> | Values (may not be filled in if the list was created empty). |
type |
string | "html" |