FlowStack

From BR Wiki
Revision as of 23:44, 28 June 2015 by Gordon.dye (talk | contribs) (→‎Technical Considerations)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The FlowStack Config specification allows you to change the size of the flow stack, which is the memory area that holds return information for the GoSub statement and user-defined functions.

Syntax

Start-up Default

FLOWSTACK 100 (version 4.3+)

Parameters

"Integer" is a decimal number that represents the number of calls the flow stack can hold. This number must be greater than 9.

Technical Considerations

  1. FlowStack may only be specified in the BRConfig.sys file; it is not valid with the Config command.
  2. An error message (9003) appears when the flow stack is too small to handle the number of concurrently active GoSubs or functions.
  3. The flow stack memory area is taken from available user memory.
  4. The Status Stacks command shows the current stack settings.