:taskinit (R83)

:taskinit (R83)


:swz (R83) Index Level @
Syntax :taskinit number.workspaces{,max.depth}
Category TCL
Type Verb
Description pre-allocates extra workspaces for use by the "execute" statement in FlashBASIC. This is not needed in D3, since workspaces are assigned on the fly.

The "number.workspaces" parameter indicates the number of process workspaces to pre-assign per port.

The optional "max.depth" parameter indicates the maximum nesting depth. The default is 7.

As the workspace size is fixed in R83, increasing the "max.depth" reduces the remaining space available for the "execute" processes.

This command can be useful to recover disk in the event of running out of disk space by using "0" (zero) as the number of workspaces. Any workspaces already assigned will be returned to the overflow table.

Each workspace takes up about 400 frames:

number of ports * number workspaces * 400 = frames used
Options
See Also link-ws (R83) EXECUTE port.number
Example
Warnings
Compatibility R83
:swz (R83) Index Level @