<?xml version="1.0" encoding="UTF-8"?>

<?context-directive job ctxfile x-setups.ctx ?>

<cd:interface xmlns:cd="http://www.pragma-ade.com/commands">

    <cd:command name="getrandomcount" level="system" file="supp-ran.mkiv">
        <cd:arguments>
            <cd:csname/>
            <cd:resolve name="argument-number"/>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="getrandomdimen" level="system" file="supp-ran.mkiv">
        <cd:arguments>
            <cd:csname/>
            <cd:resolve name="argument-dimension"/>
            <cd:resolve name="argument-dimension"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="getrandomnumber" level="system" file="supp-ran.mkiv">
        <cd:arguments>
            <cd:csname/>
            <cd:resolve name="argument-number"/>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="getrandomfloat" level="system" file="supp-ran.mkiv">
        <cd:arguments>
            <cd:csname/>
            <cd:resolve name="argument-number"/>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="setrandomseed" level="system" file="supp-ran.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="getrandomseed" level="system" file="supp-ran.mkiv">
        <cd:arguments>
            <cd:csname/>
        </cd:arguments>
    </cd:command>

    <cd:command name="randomseed" type="environment" begin="push" end="pop" level="system" file="supp-ran.mkiv"/>

    <cd:command name="reuserandomseed" level="system" file="supp-ran.mkiv"/>

    <cd:command name="randomnumber" level="system" file="supp-ran.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

    <cd:command name="mprandomnumber" level="system" file="supp-ran.mkiv"/>

</cd:interface>