GTBLPCT parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 18: Line 18:
<p>The GTBLPCT parameter has no effect if <var>[[GTBLHASH_parameter|GTBLHASH]]</var>=0.</p>
<p>The GTBLPCT parameter has no effect if <var>[[GTBLHASH_parameter|GTBLHASH]]</var>=0.</p>
<p>Resetting the GTBLPCT parameter clears the global table.</p>
<p>Resetting the GTBLPCT parameter clears the global table.</p>
<p>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 the <var>Rocket Model&nbsp;204 User Language Manual</var>.</p>
<p>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 the section on <var>[[Global_features#Global_string_variables|global string variables]]</var>.</p>
[[Category:User parameters]]
[[Category:User parameters]]
[[Category:Parameters]]
[[Category:Parameters]]

Revision as of 12:46, 28 October 2014

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=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 the section on global string variables.