Re: Export lists
- To: mathgroup at smc.vnet.net
- Subject: [mg89945] Re: Export lists
- From: dh <dh at metrohm.ch>
- Date: Wed, 25 Jun 2008 06:24:32 -0400 (EDT)
- References: <g3q7tu$ata$1@smc.vnet.net>
Hi, try e.g.: d1={1,2}; d2={3,4}; dat={d1,d2}; names=Table["name"<>ToString[i],{i,2}]; Export[#[[1]],#[[2]]]&/@ Transpose[{names,dat}] hope this helps, Daniel Sorasak wrote: > Dear All, > > I would like to export a series of lists to .dat files. Each file > corresponds to a list. How can I do that by using a line of command > instead of having to export them one by one? > > Thank you very much, > > K > -- Daniel Huber Metrohm Ltd. Oberdorfstr. 68 CH-9100 Herisau Tel. +41 71 353 8585, Fax +41 71 353 8907 E-Mail:<mailto:dh at metrohm.com> Internet:<http://www.metrohm.com>