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

From: <SadikAli.Sayyad_at_...123...>
Date: Mon, 9 Jun 2008 18:16:25 +0530
Below condition from Archan's Code (marked in CC) does not satisfies .Pl
suggest.

if(EC_resume(W,Result)==EC_yield)

		{
			post_goal(term(EC_functor("writeln",1),Result));

			cout << "yield done" ;
		}

-----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:12 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...>:
>
>
> Hello,
>
>
>
> I am passing data from C++ to the Eclipse end and trying to get it
back
> using yield/2 method as follows:
>
> Here, I have to pass the string "ABC" to the Eclipse and get the
> Result(value = 3)  back to the C++ and print it.
>
> Can you suggest me how can it be done?
>
Your code looks ok for me. What problems have you had
with it?

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 - 05:46:48 CEST

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