<?xml version="1.0"?>
<!DOCTYPE riscos-prm PUBLIC "-//Gerph//DTD PRM documentation 1.03//EN"
                            "http://gerph.org/dtd/103/prm.dtd">

<riscos-prm>

<chapter title="Sys variables">

<section title="System variables">


<sysvar-definition name="Sys$Random"
                   description="Returns a random 32-bit unsigned integer">

<use>

<p>The <sysvar>Sys$Random</sysvar> variable returns a different 32-bit unsigned integer on every call. The string is padded to 10 characters with spaces to ensure that the value returned is always the same length.</p>
</use>

<compatibility>
    <version supplier="RISC OS Pyromaniac" riscos-ge="7.76" state="supported"/>
</compatibility>

<related>
</related>
</sysvar-definition>

</section>

</chapter>

<!-- MetaData -->
<meta>
 <maintainer>
  <email name="Gerph" address="gerph@gerph.org" />
 </maintainer>
 <disclaimer>
    <p>
        &copy; Gerph, 2025.
    </p>
 </disclaimer>

 <history>
  <revision number="1" author="Gerph" date="13 Oct 2025" title="Initial documentation">
    <change>Documented the registered Sys$Random variable.</change>
  </revision>
 </history>
</meta>
</riscos-prm>
