...
integer
Scroll pagebreak |
---|
Examples
Code Block | ||
---|---|---|
| ||
// Get the current editing tool, and cycle to the next one. |
...
int $tool, $next; |
...
...
// Get the current one. |
...
$tool = `getEditTool`; |
...
...
// Figure out the next one. |
...
$next = $tool + 1; |
...
if( $next > 4 ) |
...
{ |
...
$next = 0; |
...
} |
...
setEditTool $next; |
Additional information
Related commands
...