Re: [eclipse-clp-users] Begginers Querry

From: Joachim Schimpf <joachim.schimpf_at_monash.edu>
Date: Mon, 30 May 2011 00:09:20 +1000
Kish Shen wrote:
> On 26/05/2011 15:09, nishant raj wrote:
> 
>> 1. How to feed xls data in EClipse...like in GAMS we use database and push
>> the xls file or directly upload it....
> 
> ECLiPSe does not provide any specialised reader for Excel files (I 
> assume that is what you mean by xls). Like other programming languages, 
> ECLiPSe provide I/O facilities to read files, which you can use to read 
> in the Excel files.

The easiest way is to save your data as .csv comma-separated files
and read these into ECLiPSe.  I've added a library for this to
ECLiPSe 6.1, but you can use it on 6.0 if you download it from
http://eclipse-clp.cvs.sourceforge.net/viewvc/eclipse-clp/Eclipse/Kernel/lib/csv.ecl


-- Joachim
Received on Sun May 29 2011 - 14:09:26 CEST

This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 02:31:58 CET