ztk::game stop
Stops the loop.
ztk::game stop
Description
A later ztk::game loop starts it again at the time 0. The actions and the saves stay.
Returns
An empty string.
Examples
% ztk::game loop -update {}
> ztk::game stop
> dict get [ztk::game info] running
0
Errors
% ztk::game stop now
wrong # args: should be "ztk::game stop"
-errorcode TCL WRONGARGS
Facts
- Capability
- None.
- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztk 1.0.0-beta.7