Home Online Manual
Top
Back: gen
Forward: groebner
FastBack: Functions and system variables
FastForward: Control structures
Up: Functions
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

5.1.52 getdump

Syntax:
getdump ( link_expression )
Type:
none
Purpose:
reads the content of the entire file, resp. link, and restores all variables from it. For ASCII links, getdump is equivalent to an execute(read( link )) command. For ssi links, getdump should only be used on data which were previously dump`ed.
Example:
 
  int i=3;
  dump(":w example.txt");
  kill i;
  option(noredefine);
  getdump("example.txt");
  i;
==> 3
Restrictions:
getdump is not supported for DBM links, or for a link connecting to stdin (standard input).
See dump; link; read.