Re: [eclipse-clp-users] Getting data back to C++ from Eclipse usingyield/2

From: <SadikAli.Sayyad_at_...123...>
Date: Mon, 9 Jun 2008 18:41:47 +0530
Hi Wit Jakuczun,

I will appreciate if can you please help us by pointing what is wrong in
prolog Code.

Thanks & Regards
Sadik


-----Original Message-----
From: eclipse-clp-users-bounces_at_lists.sourceforge.net
[mailto:eclipse-clp-users-bounces_at_lists.sourceforge.net] On Behalf Of
Wit Jakuczun
Sent: Monday, June 09, 2008 6:31 PM
To: Dixit, Archana (Cognizant)
Cc: eclipse-clp-users_at_lists.sourceforge.net
Subject: Re: [eclipse-clp-users] Getting data back to C++ from Eclipse
usingyield/2

2008/6/9  <Archana.Dixit_at_...123...>:
>
>
> Thanks for the reply.
>
> Here condition (EC_resume() ==EC_yield) is getting satisfied, but the
> condition (EC_resume(W,Result)==EC_yield) isn't.
>
> EC_resume(W, Result) returns value as 1 but not 4, which is probably
the
> value given to the  EC_yield .
>
Basing on
http://eclipse.crosscoreop.com/doc/bips/kernel/externals/yield-2.html
I have only one explanation. Your prolog code is wrong. Try to do this
in the same way as in the example.

Are you sure you need to use yield/resume model? It is not necessary
in most cases.

Best regards
--
[ Wit Jakuczun  w.jakuczun_at_...116... ]
[ WLOG Solutions http://wlogsolutions.com   ]

------------------------------------------------------------------------
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
ECLiPSe-CLP-Users mailing list
ECLiPSe-CLP-Users_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/eclipse-clp-users

This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.
Received on Mon Jun 09 2008 - 06:12:04 CEST

This archive was generated by hypermail 2.3.0 : Wed Sep 25 2024 - 15:13:20 CEST