Difference between revisions of "GetListForms"

222 bytes added ,  18:01, 21 March 2015
added foreach example
imported>Odessa
(created)
 
imported>Odessa
(added foreach example)
 
Line 15: Line 15:


let Ammo_Forms := GetListForms AmmoList357Magnum
let Ammo_Forms := GetListForms AmmoList357Magnum
</pre>
This function is convenient for looping through form lists:
<pre>
array_var Entry
ref rForm
foreach Entry <- (GetListForms SomeFormList)
    let rForm := *Entry
    ; rForm will be each form in the form list
loop
</pre>
</pre>
==See Also==
==See Also==
Anonymous user