<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://cmm.ozdeadmeat.com/index.php?action=history&amp;feed=atom&amp;title=CheckLaserCode</id>
	<title>CheckLaserCode - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://cmm.ozdeadmeat.com/index.php?action=history&amp;feed=atom&amp;title=CheckLaserCode"/>
	<link rel="alternate" type="text/html" href="https://cmm.ozdeadmeat.com/index.php?title=CheckLaserCode&amp;action=history"/>
	<updated>2026-06-04T14:13:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://cmm.ozdeadmeat.com/index.php?title=CheckLaserCode&amp;diff=5768&amp;oldid=prev</id>
		<title>Ozdeadmeat: CheckLaserCode – created via PowerShell script (2025-11-11T21:12:00Z)</title>
		<link rel="alternate" type="text/html" href="https://cmm.ozdeadmeat.com/index.php?title=CheckLaserCode&amp;diff=5768&amp;oldid=prev"/>
		<updated>2025-11-11T10:12:01Z</updated>

		<summary type="html">&lt;p&gt;CheckLaserCode – created via PowerShell script (2025-11-11T21:12:00Z)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Template:FunctionInfo|fName=          CheckLaserCode|fDescription=   Validates that a supplied laser code is within the official DCS World range (1111–2688) and matches the expected four‑digit pattern. The function converts the number to a string, checks its numeric bounds, then uses a regular expression to confirm it follows the [1-2][1-8][1-8][1-8] format. If CMM.DEBUG is true, diagnostic messages are logged.|parentFile=     cmm.DCSFunctions.lua|syntax=         CMM.CheckLaserCode(&amp;lt;LaserCode number&amp;gt;)|return=         boolean|returnDesc=     true if the code is valid; otherwise false.|example=        env.info(&amp;quot;Is LaserCode valid? &amp;quot;..tostring(CMM.CheckLaserCode(1788)))|exampleDesc=    Demonstrates checking whether the laser code &amp;quot;1788&amp;quot; is valid and logging the result.|related=        |note=           |envType= CMM|par1=         number LaserCode|reqType1=     number|reqName1=     LaserCode|desc1=       The laser code value to validate (e.g., 1788).}}&lt;/div&gt;</summary>
		<author><name>Ozdeadmeat</name></author>
	</entry>
</feed>