SIMPOL Documentation

list

Description

Type Tags

list

Object Value

Objects of type list have no value, and it is an error to try to get or set this value.

list.new()

Description

Prototype

list.new ()

Parameters

None

Properties

PropertyTypeDescription
_type(*)
__type(*)
addfunction
clearfunction
countinteger
findfunction
getfirstfunction
headlistnode
removefunction
searchfunction
taillistnode
typetype

Methods

add()

Description

Prototype

listvar.add ( list me, listnode t1 )

Parameters
ParameterDefault valueType nameDescription
meNonelist
t1Nonelistnode

clear()

Description

Prototype

listvar.clear ( list me )

Parameters
ParameterDefault valueType nameDescription
meNonelist

find()

Description

Prototype

listvar.find ( list me, listnode t )

Parameters
ParameterDefault valueType nameDescription
meNonelist
tNonelistnode

getfirst()

Description

Prototype

listvar.getfirst ( list me )

Parameters
ParameterDefault valueType nameDescription
meNonelist

remove()

Description

Prototype

listvar.remove ( list me, listnode t )

Parameters
ParameterDefault valueType nameDescription
meNonelist
tNonelistnode

search()

Description

Prototype

listvar.search ( list me, type(*) keyval )

Parameters
ParameterDefault valueType nameDescription
meNonelist
keyvalNonetype(*)