<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://m204wiki.rocketsoftware.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=PaulWebb</id>
	<title>m204wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://m204wiki.rocketsoftware.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=PaulWebb"/>
	<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=Special:Contributions/PaulWebb"/>
	<updated>2026-04-08T04:18:18Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://m204wiki.rocketsoftware.com/index.php?title=MarksStoreArray_class&amp;diff=31985</id>
		<title>MarksStoreArray class</title>
		<link rel="alternate" type="text/html" href="https://m204wiki.rocketsoftware.com/index.php?title=MarksStoreArray_class&amp;diff=31985"/>
		<updated>2011-02-01T12:22:33Z</updated>

		<summary type="html">&lt;p&gt;PaulWebb: Created page with &amp;quot;A &amp;lt;var&amp;gt;MarksStoreArray&amp;lt;/var&amp;gt; class object contains a mapping of characters to characters. Each character in an In string (the &amp;amp;ldquo;input table&amp;amp;rdquo;) is associated with, or ma...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A &amp;lt;var&amp;gt;MarksStoreArray&amp;lt;/var&amp;gt; class object contains a mapping of characters to characters.&lt;br /&gt;
Each character in an In string&lt;br /&gt;
(the &amp;amp;ldquo;input table&amp;amp;rdquo;) is associated with, or mapped to, an individual character&lt;br /&gt;
from an Out string (the &amp;amp;ldquo;output table&amp;amp;rdquo;).&lt;br /&gt;
The output table may be supplemented with instances of a pad character&lt;br /&gt;
to ensure a one-to-one mapping with the input table characters.&lt;br /&gt;
 &lt;br /&gt;
[[List of CharacterMap methods]] lists all the methods in this class.&lt;br /&gt;
 &lt;br /&gt;
CharacterMap includes a constructor, copy methods, and an update method&lt;br /&gt;
for modifying the map.&lt;br /&gt;
===Example===&lt;br /&gt;
Most of these methods are shown in the following example,&lt;br /&gt;
which features the intrinsic String [[Translate (String function)|Translate]] function.&lt;br /&gt;
In the example, a new CharacterMap is the argument for the Translate method;&lt;br /&gt;
then that map is copied and modified, and the modified map is used in a&lt;br /&gt;
second Translate call:&lt;br /&gt;
&lt;br /&gt;
    begin&lt;br /&gt;
    %map is object characterMap&lt;br /&gt;
    %map2 is object characterMap&lt;br /&gt;
    %ls is longstring&lt;br /&gt;
 &lt;br /&gt;
    %map = New(in=&#039;x-&#039;, out=&#039;!c&#039;)&lt;br /&gt;
    %ls = &#039;xu--exx&#039;&lt;br /&gt;
    [[Targeted Text statements|printtext]] {~} = &#039;{%ls:translate(%map)}&#039;&lt;br /&gt;
 &lt;br /&gt;
    %map2 = %map:Copy&lt;br /&gt;
    %map2:Update(in=&#039;x&#039;,out=&#039;s&#039;)&lt;br /&gt;
    printtext {~} = &#039;{%ls:translate(%map2)}&#039;&lt;br /&gt;
 &lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
The result is:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    %ls:translate(%map) = &#039;!ucce!!&#039;&lt;br /&gt;
    %ls:translate(%map2) = &#039;success&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
This class is new as of version 7.3 of the &#039;&#039;Sirius Mods&#039;&#039;.&lt;br /&gt;
[[Category:System classes]]&lt;/div&gt;</summary>
		<author><name>PaulWebb</name></author>
	</entry>
</feed>