HyperspaceExplorer 0.7.1
|
"loop <num_loops>" More...
#include <Statement.h>
Public Member Functions | |
LoopStmt (const Parser *p, const std::string &_arg) | |
virtual bool | execute () |
Executes the statement in the current context. | |
Private Attributes | |
unsigned | _loops |
Number of times to loop. |
"loop <num_loops>"
set the number of loops, ie. repetitions of num_frames
frames
Script::LoopStmt::LoopStmt | ( | const Parser * | p, |
const std::string & | _arg | ||
) |
p | The context in which the Statement is executed |
_arg | The argument supplied to the Statement |
References _loops, Script::Statement::arg(), Util::atou(), and Script::trailing().