Relative values for Model 204 numeric parameters: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Created page with "Prior to the introduction of this feature, <var class="product">Model 204</var> numeric parameter settings are absolute values only, optionally qualified by a leading minus sign ...")
 
mNo edit summary
Line 1: Line 1:
Prior to the introduction of this feature, <var class="product">Model 204</var> numeric parameter settings are absolute values only, optionally qualified by a leading minus sign (<t>-</tt>) to indicate a negative value. For example, you might set the value of the LSTBL user table to 50,000 bytes:  
Prior to the introduction of this feature, <var class="product">Model 204</var> numeric parameter settings are absolute values only, optionally qualified by a leading minus sign (<tt>-</tt>) to indicate a negative value. For example, you might set the value of the LSTBL user table to 50,000 bytes:  
<p class="code">UTABLE LSTBL 50000 </p>
<p class="code">UTABLE LSTBL 50000 </p>
Subsequently, you find that you need to increase the initial setting to 60,000. You can issue <code>UTABLE LSTBL 60000</code>,  
Subsequently, you find that you need to increase the initial setting to 60,000. You can issue <code>UTABLE LSTBL 60000</code>, or as of <var class="product">Sirius Mods</var> version 8.0, you can issue: <p class="code">UTABLE LSTBL 10000+</p>
or as of <var class="product">Sirius Mods</var> version 8.0, you can issue: <p class="code">UTABLE LSTBL 10000+</p>


The plus sign after the setting value above indicates a relative increase of 10,000. An alternative equivalent is:
The plus sign after the setting value above indicates a relative increase of 10,000. An alternative equivalent is:
Line 11: Line 10:
UTABLE LSTBL 80%</p>  
UTABLE LSTBL 80%</p>  


The option to use the relative setting of the parameter may be particularly useful in a dynamic environment where the LSTBL setting may be subject to change from a variety of code sources. In this case, explicit settings risk being difficult to maintain.
The option to use the relative setting of the parameter may be particularly useful in a dynamic and growing environment where the LSTBL setting may be subject to change from a variety of code sources. In this case, explicit settings may become difficult to maintain.

Revision as of 16:06, 6 December 2011

Prior to the introduction of this feature, Model 204 numeric parameter settings are absolute values only, optionally qualified by a leading minus sign (-) to indicate a negative value. For example, you might set the value of the LSTBL user table to 50,000 bytes:

UTABLE LSTBL 50000

Subsequently, you find that you need to increase the initial setting to 60,000. You can issue UTABLE LSTBL 60000, or as of Sirius Mods version 8.0, you can issue:

UTABLE LSTBL 10000+

The plus sign after the setting value above indicates a relative increase of 10,000. An alternative equivalent is:

UTABLE LSTBL 120%

To decrease the initial setting by 10,000, you can issue either of these relative settings:

UTABLE LSTBL 10000- UTABLE LSTBL 80%

The option to use the relative setting of the parameter may be particularly useful in a dynamic and growing environment where the LSTBL setting may be subject to change from a variety of code sources. In this case, explicit settings may become difficult to maintain.