<HTML>
<HEAD>
<link type="text/css" href="../css/main_styles.css" rel="stylesheet"></HEAD>
<BODY>
<TITLE>MQC_split_table_2</TITLE>
<H1>MQC_split_table_2</H1><H4>Synopsis</H4><PRE><FONT COLOR = blue>Defun: MQC_split_table_2(
       List, $table )
@{...} List;

</FONT></PRE><PRE STYLE=\"text-align : left;\" CLASS=\"Code\">
DesignLogic=no
FunctionBuilder=no

<B>Description:</B>
Splits given 2-dimension table into 2 sub-lists, first sub-list consists of elements
in the first column of the given table, second sub-list consists of elements not in the
first column.

<B>Input:</B>
    (List) table    -    The 2-dimension table to split

<B>Input Arguments:</B>
table

<B>Returns:</B>
A list to collect two sub-lists
Note:
      For example:
         MQC_split_table_2(
             {
                { "DWGFMT", {"D_SHEET", "D_PAGE"}, {"D_SHEET2", "D_PAGE2"}},
                { "LYTFMT", {"D_SHEET", "D_PAGE"} }
             } )
          returns {
                     {"DWGFMT","LYTFMT"},
                     { {{"D_SHEET", "D_PAGE"}, {"D_SHEET2", "D_PAGE2"}},
                       {{"D_SHEET", "D_PAGE"}}
                     }
                  }
    The function is replaced by mqc_splitTable2

<B>See Also:</B>
mqc_splitTable2
</PRE></FONT></PRE>
<p class=EndLine>&nbsp;</p>
<p class=blank>&nbsp;</p>
</BODY>
</HTML>
