Read-only forum archive

writelist command?

writelist command?

arpote · Wed May 01, 2013 9:13 pm

I was trying to use the writelist command, mentioned in Manual 3-0-2, but it appears nonexistent:

> listvar(li);
// li [0] list, size: 11
> writelist("lista.txt","lista",li);
? `writelist` is not defined
? error occurred in or before STDIN line 90: `writelist("lista.txt","lista",li);`
> listvar(Inout);
// Inout [0] package (S,inout.lib)
// ::pause [0] proc from inout.lib
// ::tab [0] proc from inout.lib
// ::split [0] proc from inout.lib
// ::showrecursive [0] proc from inout.lib
// ::show [0] proc from inout.lib
// ::rMacaulay [0] proc from inout.lib
// ::pmat [0] proc from inout.lib
// ::lprint [0] proc from inout.lib
// ::allprint [0] proc from inout.lib
>

Can I find this command elsewhere? (Please update the Manual, by the way.)

Re: writelist command?

hannes · Thu May 02, 2013 10:51 am

writelist was removed because the command write handles writing lists
in a more general and better way - it is also faster.
Version 3--0-2 contains it just for historical reasons.

PS: No need to update the manual: the manual for 3-0-2 documents writelist and contains it.
Newer versions do not contain writelist and do not mention it.