Re: [eclipse-users] Question re rpc

From: Farrell, Andrew <andrew.farrell_at_hp.com>
Date: Tue, 19 Jun 2007 16:45:22 +0100
Hi Andy,

&:: is used for symbolic constraints (at least as far I am aware).
Yes, I have loaded the sd library. 

I have the same problem when using #:: for integer constraints, even
when I have loaded the ic library.

It seems to be a problem with the parsing code for rpc.

Cheers
Andy
 

-----Original Message-----
From: Andrew Cheadle [mailto:amc4_at_doc.ic.ac.uk] 
Sent: 14 June 2007 12:26
To: Farrell, Andrew
Cc: eclipse-users_at_crosscoreop.com
Subject: Re: [eclipse-users] Question re rpc

Hi Andrew

Have you forgotten to load the IC library?

Cheers

Andy

Farrell, Andrew wrote:
> Hi Eclipse Users,
>
> I am using EclipseEngine.rpc -- very simple, I wish to declare a range

> for a variable, but when using the method call it decides that it is 
> incorrect syntax.
>
> Using DosEclipse, everything is fine:
>
> [eclipse 24]: X &:: [a,b].
>
> X = X{[a, b]}
> Yes (0.00s cpu)
>
> But when using rpc -- eclipse.rpc("X &:: [a,b]"); -- I get the use of 
> the &:: being syntactically incorrect:
>
> string stream 7: syntax error: postfix/infix operator expected
> | X &:: [a,b]
> |     ^ here
> string contains unexpected characters in term_string(_950, "X &::
> [a,b]")
>
> I'm currently a little baffled by this.
>
> Any ideas?
>
> Many thanks
> Andrew Farrell
>
>  ----------------------------------------
> Hewlett-Packard Limited registered Office: Cain Road, Bracknell, Berks
> RG12 1HN Registered No: 690597 England
>
> The contents of this message and any attachments to it are 
> confidential and may be legally privileged. If you have received this 
> message in error, you should delete it from your system immediately 
> and advise the sender.
>
> To any recipient of this message within HP, unless otherwise stated 
> you should consider this message and attachments as "HP CONFIDENTIAL".
>
>
> _______________________________________________
> ECLiPSe-Users mailing list
> ECLiPSe-Users_at_crosscoreop.com
> http://www.crosscoreop.com/mailman/listinfo/eclipse-users
>   


--
*********************************************************************
*  Andrew Cheadle                    email:  a.cheadle_at_doc.ic.ac.uk *
*  Department of Computing           http://www.doc.ic.ac.uk/~amc4/ *
*  Imperial College London                                          *
*********************************************************************
Received on Tue Jun 19 2007 - 16:45:37 CEST

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