• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /barrelfish-2018-10-04/usr/eclipseclp/documents/userman/

Lines Matching defs:and

11 % the License for the specific language governing rights and limitations
28 \chapter{Input and Output}
35 Input and output in {\eclipse} is done via communication channels
43 or for both input and output (\defnotion{update mode}\index{mode!update}).
56 This is by default the same as user_input and stdin, but can be redirected.
60 This is by default the same as user_output and stdout, but can be redirected.
62 Output for error messages and all messages about exceptional states.
63 This is by default the same as user_error and stderr, but can be redirected.
66 This is by default the same as user_output and stdout, but can be redirected.
70 This is by default the same as user_output and stdout, but can be redirected.
107 In a stand-alone {\eclipse} stdin, stdout and stderr are connected
109 In an embedded {\eclipse}, the meaning of stdin, stdout and
135 identical to \notation{stdin} and \notation{stdout},
139 \subsection{Stream Handles and Aliases}
177 Streams provide a uniform interface to a variety of I/O devices and
203 \bipref{exec/3}{../bips/kernel/opsys/exec-3.html} and
208 and
233 and \about{SourceSink} takes
264 end of the existing stream, or both input and output, respectively.
266 and erase the previous contents if it does exist.
268 of the file and start writing at its end.
300 \about{subject} to the file `foo' and close the stream subsequently.
305 there is the possibility of name clashes, and the code will not be reentrant.
307 and pass the resulting handle as an argument wherever it is needed.
311 \bipref{socket/3}{../bips/kernel/iostream/socket-3.html} and
317 %open a UNIX pipe, i.e., two streams, {\it In} for reading and {\it Out}
326 and \bipref{exec_group/3}{../bips/kernel/opsys/exec_group-3.html}.
339 and garbage collected. This means that no extra precautions have to
400 and obtain handles for them (but not their aliases).
433 to the Prolog lexical analyzer and the third one is to consider a stream as
441 and
452 the current input stream and matches it as a single character with Char.
455 If the end of file has been reached then an exception is raised and -1
470 and
479 The input and output is normally buffered by {\eclipse}.
484 and
494 \bipref{read_token/2}{../bips/kernel/iochar/read_token-2.html} and
503 and its token class is unified with \about{Class}.
507 The \Index{token class} represents the type of the token and
510 The exact definition of character classes and tokens can be found in
511 appendices \ref{charclass} and \ref{tokendef}, respectively.
521 and returned as an {\eclipse} string.
531 characters, which will be ignored before and after separators.
543 and
556 stream and unifies it with \about{Term}. The input term must be followed by a
577 \bipref{read_term/2}{../bips/kernel/ioterm/read_term-2.html} and
579 For reading and processing complete {\eclipse} source code files, use the
622 %and obtain the list of variable names contained in the {\it Term}.
625 %and {\it Var} is the corresponding variable.
637 numbers may change on garbage collection and can therefore not be used to
650 %and it is of course possible to mix the compilation with
702 \subsection{General Parsing and Text Generation}
705 Reading and writing of I/O formats that cannot be handled by the methods
742 This is not possible on pipes, sockets, queues and terminals.
788 There are two kinds of in-memory streams, string streams and queues.
792 between \eclipse and a host language, and they are also implemented as
798 in its memory, and this string is then used in the same way as a file
799 for the input and output operations.
805 where \about{InitString} can be a {\eclipse} string or a variable and represents
809 stream is the empty string and the variable is bound to this value:
818 can take it as argument and perform I/O on it.
820 \bipref{seek/2}{../bips/kernel/iostream/seek-2.html} and
861 and consumed at its beginning on reading.
885 In the example we have chosen the same name for the stream and for the
911 \subsection{Write_term and Printf}
916 and
1039 \notation{A1} and so on. When the
1044 & & obey operator declarations and print
1049 & ignore operator declarations and print functor
1068 & quote strings and atoms if necessary \\
1102 \bipref{write_term/2}{../bips/kernel/ioterm/write_term-2.html} and
1104 predicates print a single {\eclipse} term and accept a list of
1108 \bipref{printf/2}{../bips/kernel/ioterm/printf-2.html} and
1114 Additional format characters can go between \notation{\%} and \notation{w},