<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://hotline.ubersoft.org/Sputnik/wiki/skins/common/feed.css?301"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
		<id>http://hotline.ubersoft.org/Sputnik/wiki/index.php?action=history&amp;feed=atom&amp;title=Core_Function_BinaryJoin</id>
		<title>Core Function BinaryJoin - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?action=history&amp;feed=atom&amp;title=Core_Function_BinaryJoin"/>
		<link rel="alternate" type="text/html" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_BinaryJoin&amp;action=history"/>
		<updated>2026-05-13T22:26:12Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.17.0</generator>

	<entry>
		<id>http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_BinaryJoin&amp;diff=4890&amp;oldid=prev</id>
		<title>UberFoX: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_BinaryJoin&amp;diff=4890&amp;oldid=prev"/>
				<updated>2015-06-14T12:37:42Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 12:37, 14 June 2015&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	<entry>
		<id>http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_BinaryJoin&amp;diff=4889&amp;oldid=prev</id>
		<title>UberFoX: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_BinaryJoin&amp;diff=4889&amp;oldid=prev"/>
				<updated>2014-08-11T21:41:07Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:41, 11 August 2014&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	<entry>
		<id>http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_BinaryJoin&amp;diff=3874&amp;oldid=prev</id>
		<title>UberFoX: Created page with &quot;&lt;pre&gt; BinaryJoin( &lt;separator&gt;, &lt;values&gt;, &lt;start&gt;, &lt;count&gt; ) &lt;/pre&gt;  === Description ===  Join together a ton of Binary variables in an extremely fast and efficient way.  === Para...&quot;</title>
		<link rel="alternate" type="text/html" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_BinaryJoin&amp;diff=3874&amp;oldid=prev"/>
				<updated>2014-07-27T08:32:21Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;pre&amp;gt; BinaryJoin( &amp;lt;separator&amp;gt;, &amp;lt;values&amp;gt;, &amp;lt;start&amp;gt;, &amp;lt;count&amp;gt; ) &amp;lt;/pre&amp;gt;  === Description ===  Join together a ton of Binary variables in an extremely fast and efficient way.  === Para...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
BinaryJoin( &amp;lt;separator&amp;gt;, &amp;lt;values&amp;gt;, &amp;lt;start&amp;gt;, &amp;lt;count&amp;gt; )&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
&lt;br /&gt;
Join together a ton of Binary variables in an extremely fast and efficient way.&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&lt;br /&gt;
==== separator ====&lt;br /&gt;
&lt;br /&gt;
A value to use as the separator.&lt;br /&gt;
&lt;br /&gt;
==== values ====&lt;br /&gt;
&lt;br /&gt;
One of more values to be joined.&lt;br /&gt;
&lt;br /&gt;
To send more than one value create an array()&lt;br /&gt;
&lt;br /&gt;
==== start ====&lt;br /&gt;
&lt;br /&gt;
Optional; Position of the first array element in values to use.&lt;br /&gt;
&lt;br /&gt;
==== length ====&lt;br /&gt;
&lt;br /&gt;
Optional; Number of elements in values to use.&lt;br /&gt;
&lt;br /&gt;
=== Return Value ===&lt;br /&gt;
&lt;br /&gt;
Success: Returns a new binary variable.&lt;br /&gt;
&lt;br /&gt;
Failure: Returns empty binary variable.&lt;br /&gt;
&lt;br /&gt;
=== Remarks ===&lt;br /&gt;
&lt;br /&gt;
Use NULL as the separator to join with an empty separator.&lt;br /&gt;
&lt;br /&gt;
This function is generic similar to the arrays Join() function so you can use anything you want in as the parameters and it will be converted into binary on the fly. &lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sputnik&amp;quot;&amp;gt;&lt;br /&gt;
// Create some binary variables&lt;br /&gt;
$binary1 = Pack(&amp;quot;A*&amp;quot;, &amp;quot;The&amp;quot;);&lt;br /&gt;
$binary2 = Pack(&amp;quot;A*&amp;quot;, &amp;quot;quick&amp;quot;);&lt;br /&gt;
$binary3 = Pack(&amp;quot;A*&amp;quot;, &amp;quot;FoX&amp;quot;);&lt;br /&gt;
// Create a separator&lt;br /&gt;
$binarySep = Pack(&amp;quot;A*&amp;quot;, &amp;quot; &amp;quot;);&lt;br /&gt;
&lt;br /&gt;
// Join them together&lt;br /&gt;
my $Joined = BinaryJoin($binarySep, array($binary1, $binary2, $binary3));&lt;br /&gt;
&lt;br /&gt;
// Print result&lt;br /&gt;
say BinaryExpand($Joined);&lt;br /&gt;
// Prints:&lt;br /&gt;
// 54 68 65 20 71 75 69 63 6B 20 46 6F 58 -- -- -- The quick FoX&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Same as above but this time with no separator&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sputnik&amp;quot;&amp;gt;&lt;br /&gt;
// Create some binary variables&lt;br /&gt;
$binary1 = Pack(&amp;quot;A*&amp;quot;, &amp;quot;The&amp;quot;);&lt;br /&gt;
$binary2 = Pack(&amp;quot;A*&amp;quot;, &amp;quot;quick&amp;quot;);&lt;br /&gt;
$binary3 = Pack(&amp;quot;A*&amp;quot;, &amp;quot;FoX&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
// Join them together&lt;br /&gt;
my $Joined = BinaryJoin(null, array($binary1, $binary2, $binary3));&lt;br /&gt;
&lt;br /&gt;
// Print result&lt;br /&gt;
say BinaryExpand($Joined);&lt;br /&gt;
// Prints:&lt;br /&gt;
// 54 68 65 71 75 69 63 6B 46 6F 58 -- -- -- -- -- ThequickFoX&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since this is a generic function like the array Join() function you can use anything as the parameters and it will be converted into binary on the fly for example here we use a string for the separator &lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sputnik&amp;quot;&amp;gt;&lt;br /&gt;
// Create some binary variables&lt;br /&gt;
$binary1 = Pack(&amp;quot;A*&amp;quot;, &amp;quot;The&amp;quot;);&lt;br /&gt;
$binary2 = Pack(&amp;quot;A*&amp;quot;, &amp;quot;quick&amp;quot;);&lt;br /&gt;
$binary3 = Pack(&amp;quot;A*&amp;quot;, &amp;quot;FoX&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
// Join them together&lt;br /&gt;
my $Joined = BinaryJoin(&amp;quot;,&amp;quot;, array($binary1, $binary2, $binary3));&lt;br /&gt;
my $Joined2 = BinaryJoin(&amp;quot;?!&amp;quot;, array($binary1, $binary2, $binary3));&lt;br /&gt;
&lt;br /&gt;
// Print result&lt;br /&gt;
say BinaryExpand($Joined);&lt;br /&gt;
say BinaryExpand($Joined2);&lt;br /&gt;
// Prints:&lt;br /&gt;
// 54 68 65 2C 71 75 69 63 6B 2C 46 6F 58 -- -- -- The,quick,FoX&lt;br /&gt;
// 54 68 65 3F 21 71 75 69 63 6B 3F 21 46 6F 58 -- The?!quick?!FoX&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Core Function]]&lt;/div&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	</feed>