Top
Back: 5.1.75 modulo
Forward: 5.1.77 mpresmat
FastBack: 5. Functions and system variables
FastForward: 6. Tricks and pitfalls
Up: 5.1 Functions
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: F. Index
About: About This Document

5.1.76 monitor

Syntax:

monitor ( string_expression )
monitor ( string_expression, string_expression )

Type:

none

Purpose:

controls the recording of all user input and/or program output into a file. The second argument describes what to log: "i" means input, "o" means output, "io" for both.
The default for the second argument is "i".
Each monitor command closes a previous monitor file and opens the file given by the first string expression.
monitor ("") turns off recording.

Example:
 
  monitor("doe.tmp","io"); // log input and output to doe.tmp
  ring r;
  poly f=x+y+z;
  int i=7;
  ideal I=f,x,y;
  monitor("");             // stop logging

Top Back: 5.1.75 modulo Forward: 5.1.77 mpresmat FastBack: 5. Functions and system variables FastForward: 6. Tricks and pitfalls Up: 5.1 Functions Top: Singular 2-0-4 Manual Contents: Table of Contents Index: F. Index About: About This Document
            User manual for Singular version 2-0-4, October 2002, generated by texi2html.