User Tools

Site Tools


command:iterate_state

Table of Contents

iterate_state

“iterate_state” is to “alter_state” as “iterate” is to “alter”

Usage

iterate_state state, selection, expression

Examples

stored.sum_x = 0.0 
iterate_state 1, all, stored.sum_x = stored.sum_x + x 
print stored.sum_x 

See Also

command/iterate_state.txt · Last modified: 2013/08/19 21:01 (external edit)