<?xml version="1.0" encoding="Shift_JIS"?>
<?xml-stylesheet type="text/xsl" href="../Fmethod_xsl/fmethod_he_c.xsl"?>
<root>
    <func>



        <title>cnc_progdigit</title>



        <declare>
            <vc>
                <include>#include "fwlib32.h"</include>
                <prottype>FWLIBAPI short WINAPI cnc_progdigit(unsigned short FlibHndl,short* digit);</prottype>
            </vc>
        </declare>



        <doc>
            <cmn>
                <p>Reads the maximum digit of the program number (O number).</p>
            </cmn>
        </doc>



        <argument>
            <common>
                <cmn>
                    <item>
                        <name>FlibHndl</name>
                        <type>in</type>
                        <content>
                            <p>
                            Specify the library handle.
                            See "<a href="handle.htm" target="_parent">Library handle</a>" for details.
                            </p>
                        </content>
                    </item>
                    <item>
                        <name>digit</name>
                        <type>out</type>
                        <content>
                            <p>Specify the pointer to the variable to store the maximum digitof the program number.</p>
                        </content>
                    </item>
                </cmn>
            </common>
        </argument>



        <errcode>
            <item>
                <name>EW_NOOPT</name>
                <content>
                    No option<br/>
                    The extended driver/library function is necessary.
                </content>
            </item>
        </errcode>



        <option>
            <hssb>The extended driver/library function is necessary.</hssb>
        </option>



        <parameter></parameter>



        <mode></mode>



        <support>
            <is>
                <m>
                    <fs30is>O</fs30is>
                </m>
                <t>
                    <fs30is>O</fs30is>
                </t>
            </is>
        </support>

    <example>
    </example>

    </func>
</root>
