Reading terms from a file.

Ulf Wiger etxuwig@REDACTED
Thu Nov 22 10:06:43 CET 2001


On Thu, 22 Nov 2001, Thomas Arts wrote:

>I am looking myself for a solution to write terms to file in
>the internal term format, like io:write(Device,Term), but than
>not in ascii format. I want to write several terms, though.

You should probably use disk_log then. It's perfect for that sort
of thing. It also gives you the option to use a wrap log, if
you're worried about disk space.

Terms are read from the file using the disk_log:chunk() function.

/Uffe
-- 
Ulf Wiger, Senior Specialist,
   / / /   Architecture & Design of Carrier-Class Software
  / / /    Strategic Product & System Management
 / / /     Ericsson Telecom AB, ATM Multiservice Networks




More information about the erlang-questions mailing list