File: scanf.cat

package info (click to toggle)
scilab 2.4-1
  • links: PTS
  • area: non-free
  • in suites: potato, slink
  • size: 55,196 kB
  • ctags: 38,019
  • sloc: ansic: 231,970; fortran: 148,976; tcl: 7,099; makefile: 4,585; sh: 2,978; csh: 154; cpp: 101; asm: 39; sed: 5
file content (32 lines) | stat: -rw-r--r-- 1,085 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

scanf(1)                       Scilab Function                       scanf(1)
NAME
  scanf  - Converts formatted input on standard input

CALLING SEQUENCE
   [v_1,...v_n]=scanf (format);

PARAMETERS

  format :Specifies the format conversion.

DESCRIPTION
  The scanf functions get character data on standard input (%io(1)), inter-
  pret it according to a format, and returns the converted results.

  The format parameter contains conversion specifications used to interpret
  the input.

  The format parameter can contain white-space characters (blanks, tabs, new-
  line, 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.

  -   Any character except % (percent sign), which must match the next char-
      acter of the input stream.

  -   A conversion specification that directs the conversion of the next
      input field. see scanf_conversion for details.
SEE ALSO
  printf, read, fscanf, sscanf