GetSize - FormList: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
imported>JustinOther
m (→‎See Also: Fixed link to complete example scripts)
m (Convert source tags to syntaxhighlight)
 
Line 6: Line 6:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
int Function GetSize() native
int Function GetSize() native
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 18: Line 18:
== Examples ==
== Examples ==
*Print out the forms in the list:
*Print out the forms in the list:
<source lang="papyrus">FormList Property kFormList Auto
<syntaxhighlight lang="papyrus">FormList Property kFormList Auto


Function ExampleFunction()
Function ExampleFunction()
Line 26: Line 26:
Debug.Trace("Form " + iIndex + " is " + kFormList.GetAt(iIndex))
Debug.Trace("Form " + iIndex + " is " + kFormList.GetAt(iIndex))
EndWhile
EndWhile
EndFunction</source>
EndFunction</syntaxhighlight>


== See Also ==
== See Also ==

Navigation menu