GTBLPCT parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (misc formatting)
 
(4 intermediate revisions by one other user not shown)
Line 15: Line 15:


==Description==
==Description==
<p>The GTBLPCT parameter indicates the initial percentage of GTBL to allocate for storage of global string variables; the remaining storage area is for global objects such as global screens, images, lists, found sets, and positions.</p>
<p>
<p>The GTBLPCT parameter has no effect if GTBLHASH=0.</p>
The <var>GTBLPCT</var> parameter indicates the initial percentage of <var>[[Large request considerations#GTBL (global variable table)|GTBL]]</var> to allocate for storage of global string variables; the remaining storage area is for global objects such as global screens, images, lists, found sets, and positions.</p>
<p>Resetting the GTBLPCT parameter clears the global table.</p>
<p>
<p>Rocket Software recommends that you set GTBLPCT high, if you have mostly global strings and a few global objects; low, if the reverse applies. For a discussion of the performance improvement in handling global variables see the <var>Rocket Model&nbsp;204 User Language Manual</var>.</p>
The <var>GTBLPCT</var> parameter has no effect if <var>[[GTBLHASH parameter|GTBLHASH]]</var> is 0.</p>
<p>
Resetting the <var>GTBLPCT</var> parameter clears the global table.</p>
<p>
It is recommended that you set <var>GTBLPCT</var> high, if you have mostly global strings and a few global objects; low, if the reverse applies. For a discussion of the performance improvement in handling global variables, see [[Global features#Global string variables|global string variables]].</p>
 
[[Category:User parameters]]
[[Category:User parameters]]
[[Category:Parameters]]
[[Category:Parameters]]

Latest revision as of 17:50, 28 August 2017

Initial GTBL percentage to allocate for plain globals

Summary

Default value
50
Parameter type
User
Where set
By any user
Related products
All
Introduced
Model 204 V5.1

Description

The GTBLPCT parameter indicates the initial percentage of GTBL to allocate for storage of global string variables; the remaining storage area is for global objects such as global screens, images, lists, found sets, and positions.

The GTBLPCT parameter has no effect if GTBLHASH is 0.

Resetting the GTBLPCT parameter clears the global table.

It is recommended that you set GTBLPCT high, if you have mostly global strings and a few global objects; low, if the reverse applies. For a discussion of the performance improvement in handling global variables, see global string variables.