<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
<MAN>
  <LANGUAGE>eng</LANGUAGE>
  <TITLE>sscanf</TITLE>
  <TYPE>Scilab Function</TYPE>
  <DATE>May 1994</DATE>
  <SHORT_DESCRIPTION name="sscanf"> Converts formatted input given by a string</SHORT_DESCRIPTION>
  <CALLING_SEQUENCE>
    <CALLING_SEQUENCE_ITEM> [v_1,...v_n]=sscanf (string,format)  </CALLING_SEQUENCE_ITEM>
  </CALLING_SEQUENCE>
  <PARAM>
    <PARAM_INDENT>
      <PARAM_ITEM>
        <PARAM_NAME>format</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>:Specifies the format conversion.</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
      <PARAM_ITEM>
        <PARAM_NAME>string</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>:Specifies input to be read.</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
    </PARAM_INDENT>
  </PARAM>
  <DESCRIPTION>
    <P>
      This function is obsolete, use preferably the <VERB>msscanf</VERB>
      function which is more efficient and is more compatible with the C
      <VERB>sscanf</VERB> procedure.
    </P>
    <P>
    The sscanf functions interpret character string  according
    to a format, and returns the converted results.
  </P>
    <P>
    The format parameter contains conversion specifications
    used to interpret the input.
  </P>
    <P>
    The format parameter can contain
    white-space characters (blanks, tabs, newline, or formfeed)
    that, except in the following two cases, read the input up to the
    next nonwhite-space character. Unless there is a match in the control
    string, trailing white space (including a newline character) is not
    read.
  </P>
    <DESCRIPTION_INDENT>
      <DESCRIPTION_ITEM label="-">
        <SP>Any character except % (percent sign), which must match the next character of the input stream.</SP>
      </DESCRIPTION_ITEM>
      <DESCRIPTION_ITEM label="-">
        <SP>A conversion specification that directs the conversion of the next input field. see <VERB>scanf_conversion</VERB> for details.</SP>
      </DESCRIPTION_ITEM>
    </DESCRIPTION_INDENT>
  </DESCRIPTION>
  <SEE_ALSO>
    <SEE_ALSO_ITEM>
      <LINK>mprintf</LINK>
    </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM>
      <LINK>msscanf</LINK>
    </SEE_ALSO_ITEM>
    <SEE_ALSO_ITEM>
      <LINK>mfscanf</LINK>
    </SEE_ALSO_ITEM>
  </SEE_ALSO>
</MAN>
