<?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" 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" 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" 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" 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" file="supp-ran.mkiv">
        <cd:arguments>
            <cd:resolve name="argument-number"/>
        </cd:arguments>
    </cd:command>

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

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

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

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

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

</cd:interface>
