$List MaxIL: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:$List_MaxIL}} <span class="pageSubtitle"><section begin="desc" />Return maximum $list item length<section end="desc" /></span> <p class="warning">Most Sirius $fun...")
 
(Automatically generated page update)
 
(40 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:$List_MaxIL}}
{{DISPLAYTITLE:$List_MaxIL}}
<span class="pageSubtitle"><section begin="desc" />Return maximum $list item length<section end="desc" /></span>
<span class="pageSubtitle">Return maximum $list item length</span>


<p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $List_MaxIL function is [[to be entered]].</p>
<p class="warn"><b>Note: </b>Many $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $List_MaxIL function is <var>[[MaxItemLength (Stringlist property)|MaxItemLength]]</var>.</p>


This function returns the maximum $list item length.  
This function returns the maximum $list item length.  


$List_MaxIL accepts no arguments and returns the maximum length of a $list item.
<var>$List_MaxIL</var> accepts no arguments and returns the maximum length of a $list item.
 
==Syntax==
==Syntax==
<p class="syntax"><section begin="syntax" /> %MAX = $List_MaxIL
<p class="syntax">%MAX = $List_MaxIL
<section end="syntax" /></p>
<p class="caption">$List_MaxIL Function
</p>
</p>
<p class="caption">%MAX: Maximum length of a $list item.</p>


The chief purpose of $List_MaxIL is to avoid having code with a constant (like 6124) whose value is subject to change. Under ''[[Sirius Mods]]'' Version 6.5, 6124 was the maximum length of a $list item. Under ''[[Sirius Mods]]'' Version 6.6 and later, some functions such as $ListLoc and $ListLup still only operate on the first 6124 bytes of $list items. While Sirius Software is not likely to reduce this value, because of the complex backward compatibility issues, it might someday increase it, as it eliminated the $list item length limit in ''[[Sirius Mods]]'' 6.6.
<p>%MAX: Maximum length of a $list item.</p>


This $function is new in ''[[Sirius Mods]]'' Version 6.2 and later.<p>
The chief purpose of <var>$List_MaxIL</var> is to avoid having code with a constant (like 6124) whose value is subject to change. Under <var class="product">[[Sirius Mods]]</var> Version 6.5, 6124 was the maximum length of a $list item. Under <var class="product">[[Sirius Mods]]</var> Version 6.6 and later, some functions such as <var>$ListLoc</var> and <var>$ListLup</var> still only operate on the first 6124 bytes of $list items. While Sirius Software is not likely to reduce this value, because of the complex backward compatibility issues, it might someday increase it, as it eliminated the $list item length limit in <var class="product">[[Sirius Mods]]</var> 6.6.


==Products authorizing {{PAGENAMEE}}==
<ul class="smallAndTightList">
<ul class="smallAndTightList">
<li>[[Sirius functions]]</li>
<li>[[List of $functions|Sirius functions]]</li>
<li>[[Fast/Unload User Language Interface]]</li>
<li>[[Fast/Unload User Language Interface]]</li>
<li>[[Janus Open Client]]</li>
<li>[[Media:JoclrNew.pdf|Janus Open Client]]</li>
<li>[[Janus Open Server]]</li>
<li>[[Media:JosrvrNew.pdf|Janus Open Server]]</li>
<li>[[Janus Sockets]]</li>
<li>[[Janus Sockets]]</li>
<li>[[Janus Web Server]]</li>
<li>[[Janus Web Server]]</li>
<li>[[Japanese functions]]</li>
<li>Japanese functions</li>
<li>[[Sir2000 Field Migration Facility]]</li>
<li>[[Media:SirfieldNew.pdf|Sir2000 Field Migration Facility]]</li>
 
</ul>
</ul>
   
   
</p>
<p class="caption">Products authorizing $List_MaxIL
</p>
[[Category:$Functions|$List_MaxIL]]
[[Category:$Functions|$List_MaxIL]]

Latest revision as of 22:51, 20 September 2018

Return maximum $list item length

Note: Many $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $List_MaxIL function is MaxItemLength.

This function returns the maximum $list item length.

$List_MaxIL accepts no arguments and returns the maximum length of a $list item.

Syntax

%MAX = $List_MaxIL

%MAX: Maximum length of a $list item.

The chief purpose of $List_MaxIL is to avoid having code with a constant (like 6124) whose value is subject to change. Under Sirius Mods Version 6.5, 6124 was the maximum length of a $list item. Under Sirius Mods Version 6.6 and later, some functions such as $ListLoc and $ListLup still only operate on the first 6124 bytes of $list items. While Sirius Software is not likely to reduce this value, because of the complex backward compatibility issues, it might someday increase it, as it eliminated the $list item length limit in Sirius Mods 6.6.

Products authorizing $List_MaxIL