Re: [eclipse-clp-users] Begginers Querry

From: Joachim Schimpf <joachim.schimpf_at_...269...>
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.3.0 : Wed Sep 25 2024 - 15:13:20 CEST