GetSize - FormList

Member of: FormList Script

Returns the number of items in the list.

SyntaxEdit

int Function GetSize() native

ParametersEdit

None

Return ValueEdit

Returns the number of forms in the list

ExamplesEdit

  • Print out the forms in the list:
FormList Property kFormList Auto

Function ExampleFunction()
	Int iIndex = kFormList.GetSize()
	While iIndex > 0
		iIndex -= 1
		Debug.Trace("Form " + iIndex + " is " + kFormList.GetAt(iIndex))
	EndWhile
EndFunction

See AlsoEdit