FlowStack: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
Line 13: Line 13:
#FlowStack may only be specified in the [[BRConfig.sys]] file; it is '''not''' valid with the [[Config]] command.  
#FlowStack may only be specified in the [[BRConfig.sys]] file; it is '''not''' valid with the [[Config]] command.  
#An error message ([[9003]]) appears when the flow stack is too small to handle the number of concurrently active GoSubs or functions.  
#An error message ([[9003]]) appears when the flow stack is too small to handle the number of concurrently active GoSubs or functions.  
#The size of the flow stack memory area comes from available user memory. It is important to maintain adequate user memory when you use the FlowStack specification.
#The flow stack memory area is taken from available user memory.  


<noinclude>
<noinclude>
[[Category:Config]]
[[Category:Config]]
</noinclude>
</noinclude>

Revision as of 23:43, 28 June 2015

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.