Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lists #4

Open
ver1000000 opened this issue Dec 13, 2012 · 0 comments
Open

Lists #4

ver1000000 opened this issue Dec 13, 2012 · 0 comments

Comments

@ver1000000
Copy link

How can i work with lists?

I have prolog code:

       :- class("Prolog").
       return([P1,P2],P1).

And C# code:

       Prolog prolog = new Prolog();

       ArrayList al = new ArrayList();
       al.Add(1);
       al.Add(2);

       AbstractTerm r = new AbstractTerm();
       prolog.@return(al, r);

It returns me error "type ArrayList can not be cast to AbstractTerm" (something like that).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant